Skip to content
Snippets Groups Projects
  1. Jan 05, 2007
  2. Jan 02, 2007
    • Bruce Momjian's avatar
      Fix float4/8 to handle Infinity and Nan consistently, e.g. Infinity is a · f9ac414c
      Bruce Momjian authored
      valid result from a computation if one of the input values was infinity.
      The previous code assumed an operation that returned infinity was an
      overflow.
      
      Handle underflow/overflow consistently, and add checks for aggregate
      overflow.
      
      Consistently prevent Inf/Nan from being cast to integer data types.
      
      Fix INT_MIN % -1 to prevent overflow.
      
      Update regression results for new error text.
      
      Per report from Roman Kononov.
      f9ac414c
  3. Oct 04, 2006
  4. Jun 12, 2006
  5. Mar 11, 2006
  6. Mar 05, 2006
  7. Mar 02, 2006
  8. Nov 17, 2005
    • Tom Lane's avatar
      Make SQL arrays support null elements. This commit fixes the core array · cecb6075
      Tom Lane authored
      functionality, but I still need to make another pass looking at places
      that incidentally use arrays (such as ACL manipulation) to make sure they
      are null-safe.  Contrib needs work too.
      I have not changed the behaviors that are still under discussion about
      array comparison and what to do with lower bounds.
      cecb6075
  9. Oct 15, 2005
  10. Jul 10, 2005
  11. Mar 29, 2005
    • Tom Lane's avatar
      Convert oidvector and int2vector into variable-length arrays. This · 70c9763d
      Tom Lane authored
      change saves a great deal of space in pg_proc and its primary index,
      and it eliminates the former requirement that INDEX_MAX_KEYS and
      FUNC_MAX_ARGS have the same value.  INDEX_MAX_KEYS is still embedded
      in the on-disk representation (because it affects index tuple header
      size), but FUNC_MAX_ARGS is not.  I believe it would now be possible
      to increase FUNC_MAX_ARGS at little cost, but haven't experimented yet.
      There are still a lot of vestigial references to FUNC_MAX_ARGS, which
      I will clean up in a separate pass.  However, getting rid of it
      altogether would require changing the FunctionCallInfoData struct,
      and I'm not sure I want to buy into that.
      70c9763d
  12. Feb 27, 2005
  13. Dec 31, 2004
    • PostgreSQL Daemon's avatar
      · 2ff50159
      PostgreSQL Daemon authored
      Tag appropriate files for rc3
      
      Also performed an initial run through of upgrading our Copyright date to
      extend to 2005 ... first run here was very simple ... change everything
      where: grep 1996-2004 && the word 'Copyright' ... scanned through the
      generated list with 'less' first, and after, to make sure that I only
      picked up the right entries ...
      2ff50159
  14. Oct 04, 2004
    • Tom Lane's avatar
      Detect overflow in integer arithmetic operators (integer, smallint, and · 4171bb86
      Tom Lane authored
      bigint variants).  Clean up some inconsistencies in error message wording.
      Fix scanint8 to allow trailing whitespace in INT64_MIN case.  Update
      int8-exp-three-digits.out, which seems to have been ignored by the last
      couple of people to modify the int8 regression test, and remove
      int8-exp-three-digits-win32.out which is thereby exposed as redundant.
      4171bb86
  15. Aug 29, 2004
  16. Feb 03, 2004
    • Joe Conway's avatar
      Add function (actually an int4 and an int8 version) that generates · 12661642
      Joe Conway authored
      a series of numbers, optionally using an explicit step size other
      than the default value (one). Use function in the information_schema
      to replace hard-wired knowledge of INDEX_MAX_KEYS. initdb forced due
      to pg_proc change. Documentation update still needed -- will be
      committed separately.
      12661642
  17. Dec 01, 2003
    • Bruce Momjian's avatar
      Attached is a patch implementing factorial(), returning numeric. Points · 04a4821a
      Bruce Momjian authored
      to note:
      
      1) arttype is numeric. I thought this was the best way of allowing
      arbitarily large factorials, even though factorial(2^63) is a large
      number. Happy to change to integers if this is overkill.
      2) since we're accepting numeric arguments, the patch tests for floats.
      If a numeric is passed with non-zero decimal portion, an error is raised
      since (from memory) they are undefined.
      
      Gavin Sherry
      04a4821a
  18. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  19. Aug 04, 2003
  20. Jul 27, 2003
  21. May 09, 2003
  22. Mar 11, 2003
    • 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
  23. Aug 22, 2002
  24. Jun 20, 2002
  25. Jun 08, 2002
  26. Feb 23, 2002
  27. Jun 07, 2001
  28. Mar 22, 2001
  29. Jan 24, 2001
  30. Dec 03, 2000
  31. Oct 24, 2000
  32. Aug 01, 2000
  33. Jul 17, 2000
    • 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
  34. Jul 13, 2000
    • 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
  35. Jul 04, 2000
    • 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
  36. Jun 14, 2000
Loading