Skip to content
Snippets Groups Projects
  1. May 29, 2000
  2. May 28, 2000
    • Tom Lane's avatar
      First round of changes for new fmgr interface. fmgr itself and the · 0a7fb4e9
      Tom Lane authored
      key call sites are changed, but most called functions are still oldstyle.
      An exception is that the PL managers are updated (so, for example, NULL
      handling now behaves as expected in plperl and plpgsql functions).
      NOTE initdb is forced due to added column in pg_proc.
      0a7fb4e9
  3. May 26, 2000
  4. May 16, 2000
    • Bruce Momjian's avatar
      Several compilation and run-time problems occur when building on SGI · a47e20b0
      Bruce Momjian authored
      IRIX systems using the native compilers.  A summary is:
      - Various files use "//" as a comment delimiter in c files.
      - Problems caused by assuming "char" is signed.
        cash.in: building -signed the rules regression test fails as described
          in FAQ_QNX4.  If CHAR_MAX is "255U" then ((signed char)CHAR_MAX) is -1.
        postmaster.c: random number regression test failed without this change.
      - Some generic build issues and warning message cleanup.
      
      David Kaelbling
      a47e20b0
  5. May 13, 2000
  6. Apr 16, 2000
    • Tom Lane's avatar
      Add new selectivity estimation functions for pattern-matching operators · 82849df6
      Tom Lane authored
      (LIKE and regexp matches).  These are not yet referenced in pg_operator,
      so by default the system will continue to use eqsel/neqsel.
      Also, tweak convert_to_scalar() logic so that common prefixes of strings
      are stripped off, allowing better accuracy when all strings in a table
      share a common prefix.
      82849df6
  7. Apr 14, 2000
  8. Apr 12, 2000
  9. Apr 09, 2000
  10. Apr 08, 2000
  11. Apr 07, 2000
    • Bruce Momjian's avatar
      Update create_rule manual page. · 28fb1c19
      Bruce Momjian authored
      28fb1c19
    • Thomas G. Lockhart's avatar
      Add transcendental math functions (sine, cosine, etc) · a349733b
      Thomas G. Lockhart authored
      Add a random number generator and seed setter (random(), SET SEED)
      Fix up the interval*float8 math to carry partial months
       into the time field.
      Add float8*interval so we have symmetry in the available math.
      Fix the parser and define.c to accept SQL92 types as field arguments.
      Fix the parser to accept SQL92 types for CREATE TYPE, etc. This is
       necessary to allow...
      Bit/varbit support in contrib/bit cleaned up to compile and load
       cleanly. Still needs some work before final release.
      Implement the "SOME" keyword as a synonym for "ANY" per SQL92.
      Implement ascii(text), ichar(int4), repeat(text,int4) to help
       support the ODBC driver.
      Enable the TRUNCATE() function mapping in the ODBC driver.
      a349733b
  12. Mar 30, 2000
  13. Mar 29, 2000
  14. Mar 24, 2000
  15. Mar 23, 2000
  16. Mar 20, 2000
  17. Mar 19, 2000
  18. Mar 18, 2000
  19. Mar 17, 2000
  20. Mar 16, 2000
  21. Mar 15, 2000
    • Tom Lane's avatar
      Fix busted TRANSLATE() code --- it coredumped due to pfree()'ing the · 77f48853
      Tom Lane authored
      wrong pointer.
      77f48853
    • Thomas G. Lockhart's avatar
      Implement column aliases on views "CREATE VIEW name (collist)". · 64568100
      Thomas G. Lockhart authored
      Implement TIME WITH TIME ZONE type (timetz internal type).
      Remap length() for character strings to CHAR_LENGTH() for SQL92
       and to remove the ambiguity with geometric length() functions.
      Keep length() for character strings for backward compatibility.
      Shrink stored views by removing internal column name list from visible rte.
      Implement min(), max() for time and timetz data types.
      Implement conversion of TIME to INTERVAL.
      Implement abs(), mod(), fac() for the int8 data type.
      Rename some math functions to generic names:
       round(), sqrt(), cbrt(), pow(), etc.
      Rename NUMERIC power() function to pow().
      Fix int2 factorial to calculate result in int4.
      Enhance the Oracle compatibility function translate() to work with string
       arguments (from Edwin Ramirez).
      Modify pg_proc system table to remove OID holes.
      64568100
  22. Mar 13, 2000
  23. Mar 08, 2000
    • Bruce Momjian's avatar
      Reversed out inet patch. · ab7fd118
      Bruce Momjian authored
      ab7fd118
    • Bruce Momjian's avatar
      Hi, · eae5184d
      Bruce Momjian authored
       the to_char() source code is large, here are regression tests for
      numeric/timestamp/int8 part. It is probably enough test for formatting
      code in the formatting.c module. The others (float4/float8/int4) types
      share this formatting code and eventual bugs for these types aren't
      few probable.
      
       Patch fix timestamp_to_char() for infinity/invalid timestamp too.
      
      
                                                      Karel
      eae5184d
    • Bruce Momjian's avatar
      Protects you from coredumps if you do eg. str::int4 where str is a text · 0c542291
      Bruce Momjian authored
      field. cf. Tom Lane's <19021.950544016@sss.pgh.pa.us> 14 Feb hackers
      message.
      
      Cheers,
      
      Patrick Welche
      0c542291
    • Bruce Momjian's avatar
      Sorting for the inet data type randomly returns the wrong result · 52d39d51
      Bruce Momjian authored
      when you have networks with the same prefix, but different netmasks.
      
      This is due to the fact that occassionally there is random
      (uninitialized?)
      data in the extra bits past the point where the netmask cares about
      them.
      
      ie (real data from a real live database):
      
        10.0/10 == 00001010.00100000.00100000.00011000
        10.0/11 == 00001010.00000000.00000000.00000000
                              ^ Bad data, normally never seen
      
      The v4bitncmp() function was only taking one bit length argument so
      it would determine that the networks were different, even though
      they really aren't (and the netmask test wouldn't be used).  This
      ONLY happens if the tuple with the longer bit length is used as the
      ip_bits() for the v4bitncmp call AND there happens to be junk data
      in place in the shorter tuple.  Odd and random, but I saw it happen
      a couple times so...
      
      
      Ryan Mooney
      52d39d51
  24. Feb 27, 2000
  25. Feb 26, 2000
  26. Feb 24, 2000
Loading