1. 21 Apr, 2003 1 commit
  2. 11 Mar, 2003 1 commit
    • Tom Lane's avatar
      Add explicit tests for division by zero to all user-accessible integer · 31e69ccb
      Tom Lane authored
      division and modulo functions, to avoid problems on OS X (which fails to
      trap 0 divide at all) and Windows (which traps it in some bizarre
      nonstandard fashion).  Standardize on 'division by zero' as the one true
      spelling of this error message.  Add regression tests as suggested by
      Neil Conway.
      31e69ccb
  3. 08 Nov, 2002 1 commit
    • Tom Lane's avatar
      Add extra_float_digits GUC parameter to allow adjustment of displayed · d2c744aa
      Tom Lane authored
      precision for float4, float8, and geometric types.  Set it in pg_dump
      so that float data can be dumped/reloaded exactly (at least on platforms
      where the float I/O support is properly implemented).  Initial patch by
      Pedro Ferreira, some additional work by Tom Lane.
      d2c744aa
  4. 19 Oct, 2002 1 commit
  5. 04 Sep, 2002 1 commit
  6. 26 Aug, 2002 1 commit
    • Tom Lane's avatar
      Modify array operations to include array's element type OID in the · 5cabcfcc
      Tom Lane authored
      array header, and to compute sizing and alignment of array elements
      the same way normal tuple access operations do --- viz, using the
      tupmacs.h macros att_addlength and att_align.  This makes the world
      safe for arrays of cstrings or intervals, and should make it much
      easier to write array-type-polymorphic functions; as examples see
      the cleanups of array_out and contrib/array_iterator.  By Joe Conway
      and Tom Lane.
      5cabcfcc
  7. 20 Jun, 2002 1 commit
  8. 11 Dec, 2001 1 commit
  9. 05 Nov, 2001 1 commit
  10. 28 Oct, 2001 1 commit
  11. 25 Oct, 2001 1 commit
  12. 07 Jun, 2001 1 commit
  13. 02 Jun, 2001 2 commits
  14. 03 May, 2001 1 commit
    • Tom Lane's avatar
      Ensure that btree sort ordering functions and boolean comparison operators · 2792374c
      Tom Lane authored
      give consistent results for all datatypes.  Types float4, float8, and
      numeric were broken for NaN values; abstime, timestamp, and interval
      were broken for INVALID values; timetz was just plain broken (some
      possible pairs of values were neither < nor = nor >).  Also clean up
      text, bpchar, varchar, and bit/varbit to eliminate duplicate code and
      thereby reduce the probability of similar inconsistencies arising in
      the future.
      2792374c
  15. 22 Mar, 2001 1 commit
  16. 24 Jan, 2001 1 commit
  17. 07 Aug, 2000 1 commit
  18. 01 Aug, 2000 1 commit
  19. 28 Jul, 2000 1 commit
  20. 17 Jul, 2000 1 commit
    • Tom Lane's avatar
      Revise aggregate functions per earlier discussions in pghackers. · bec98a31
      Tom Lane authored
      There's now only one transition value and transition function.
      NULL handling in aggregates is a lot cleaner.  Also, use Numeric
      accumulators instead of integer accumulators for sum/avg on integer
      datatypes --- this avoids overflow at the cost of being a little slower.
      Implement VARIANCE() and STDDEV() aggregates in the standard backend.
      
      Also, enable new LIKE selectivity estimators by default.  Unrelated
      change, but as long as I had to force initdb anyway...
      bec98a31
  21. 12 Jul, 2000 1 commit
    • Peter Eisentraut's avatar
      Remove a bunch of unused configure tests, in particular cases where · cb292206
      Peter Eisentraut authored
      * the result is not recorded anywhere
      * the result is not used anywhere
      * the result is only used in some places, whereas others have been getting away with it
      * the result is used improperly
      
      Also make command line options handling a little better (e.g., --disable-locale,
      while redundant, should really still *dis*able).
      cb292206
  22. 06 Jul, 2000 1 commit
  23. 03 Jul, 2000 1 commit
    • Jan Wieck's avatar
      TOAST · 57d8080a
      Jan Wieck authored
          WARNING: This is actually broken - we have self-deadlocks
      	         due to concurrent changes in buffer management.
      			 Vadim and me are working on it.
      
      Jan
      57d8080a
  24. 14 Jun, 2000 1 commit
    • Peter Eisentraut's avatar
      Big warnings cleanup for Solaris/GCC. Down to about 40 now, but · 44d1abeb
      Peter Eisentraut authored
      we'll get there one day.
      
      Use `cat' to create aclocal.m4, not `aclocal'. Some people don't
      have automake installed.
      
      Only run the autoconf rule in the top-level GNUmakefile if the
      invoker specified `make configure', don't run it automatically
      because of CVS timestamp skew.
      44d1abeb
  25. 13 Jun, 2000 1 commit
  26. 08 Jun, 2000 1 commit
  27. 05 Jun, 2000 1 commit
  28. 12 Apr, 2000 1 commit
  29. 07 Apr, 2000 1 commit
    • 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
  30. 23 Mar, 2000 1 commit
  31. 14 Mar, 2000 1 commit
    • 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
  32. 26 Jan, 2000 1 commit
    • Bruce Momjian's avatar
      Add: · 5c25d602
      Bruce Momjian authored
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  33. 15 Jan, 2000 1 commit
  34. 20 Dec, 1999 1 commit
  35. 02 Oct, 1999 1 commit
  36. 26 Sep, 1999 1 commit
    • Tom Lane's avatar
      Modify nodeAgg.c so that no rows are returned for a GROUP BY · be09bc9f
      Tom Lane authored
      with no input rows, per pghackers discussions around 7/22/99.  Clean up
      a bunch of ugly coding while at it; remove redundant re-lookup of
      aggregate info at start of each new GROUP.  Arrange to pfree intermediate
      values when they are pass-by-ref types, so that aggregates on pass-by-ref
      types no longer eat memory.  This takes care of a couple of TODO items...
      be09bc9f
  37. 21 Sep, 1999 1 commit
  38. 17 Jul, 1999 1 commit
  39. 16 Jul, 1999 1 commit