Skip to content
Snippets Groups Projects
  1. Feb 03, 2006
  2. Dec 02, 2005
  3. Dec 01, 2005
  4. 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
  5. Oct 15, 2005
  6. Apr 07, 2005
    • Neil Conway's avatar
      Apply the "nodeAgg" optimization to more of the builtin transition · be2f825d
      Neil Conway authored
      functions. This patch optimizes int2_sum(), int4_sum(), float4_accum()
      and float8_accum() to avoid needing to copy the transition function's
      state for each input tuple of the aggregate. In an extreme case
      (e.g. SELECT sum(int2_col) FROM table where table has a single column),
      it improves performance by about 20%. For more complex queries or tables
      with wider rows, the relative performance improvement will not be as
      significant.
      be2f825d
  7. Feb 11, 2005
  8. 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
  9. 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
  10. Sep 02, 2004
  11. Aug 29, 2004
  12. Aug 11, 2004
  13. Aug 04, 2004
  14. May 17, 2004
  15. May 07, 2004
    • Tom Lane's avatar
      Solve the 'Turkish problem' with undesirable locale behavior for case · 0bd61548
      Tom Lane authored
      conversion of basic ASCII letters.  Remove all uses of strcasecmp and
      strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp;
      remove most but not all direct uses of toupper and tolower in favor of
      pg_toupper and pg_tolower.  These functions use the same notions of
      case folding already developed for identifier case conversion.  I left
      the straight locale-based folding in place for situations where we are
      just manipulating user data and not trying to match it to built-in
      strings --- for example, the SQL upper() function is still locale
      dependent.  Perhaps this will prove not to be what's wanted, but at
      the moment we can initdb and pass regression tests in Turkish locale.
      0bd61548
  16. Apr 02, 2004
  17. Mar 15, 2004
  18. Mar 14, 2004
    • Neil Conway's avatar
      Portability fixes and bug fixes for recent floating point input changes. · 80ac9b06
      Neil Conway authored
      In particular, don't depend on strtod() to accept 'NaN' and 'Infinity'
      inputs (while this is required by C99, not all platforms are compliant
      with that yet). Also, don't require glibc's behavior from isinf():
      it seems that on a lot of platforms isinf() does not itself distinguish
      between negative and positive infinity.
      80ac9b06
  19. Mar 12, 2004
    • Neil Conway's avatar
      Allow 'Infinity' and '-Infinity' as input to the float4 and float8 · bfd6f52b
      Neil Conway authored
      types. Update the regression tests and the documentation to reflect
      this. Remove the UNSAFE_FLOATS #ifdef.
      
      This is only half the story: we still unconditionally reject
      floating point operations that result in +/- infinity. See
      recent thread on -hackers for more information.
      bfd6f52b
  20. Mar 11, 2004
    • Neil Conway's avatar
      Revise int2/int4/int8/float4/float8 input routines to allow for · e2ded829
      Neil Conway authored
      any amount of leading or trailing whitespace (where "whitespace"
      is defined by isspace()). This is for SQL conformance, as well
      as consistency with other numeric types (e.g. oid, numeric).
      
      Also refactor pg_atoi() to avoid looking at errno where not
      necessary, and add a bunch of regression tests for the input
      to these types.
      e2ded829
  21. Mar 04, 2004
  22. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  23. Nov 12, 2003
    • Tom Lane's avatar
      Cross-data-type comparisons are now indexable by btrees, pursuant to my · fa5c8a05
      Tom Lane authored
      pghackers proposal of 8-Nov.  All the existing cross-type comparison
      operators (int2/int4/int8 and float4/float8) have appropriate support.
      The original proposal of storing the right-hand-side datatype as part of
      the primary key for pg_amop and pg_amproc got modified a bit in the event;
      it is easier to store zero as the 'default' case and only store a nonzero
      when the operator is actually cross-type.  Along the way, remove the
      long-since-defunct bigbox_ops operator class.
      fa5c8a05
  24. Sep 25, 2003
  25. Aug 04, 2003
  26. Jul 30, 2003
    • Tom Lane's avatar
      Fix numeric_smaller, numeric_larger, float4smaller, float4larger, · 4b1c6695
      Tom Lane authored
      float8smaller, float8larger (and thereby the MIN/MAX aggregates on these
      datatypes) to agree with the datatypes' comparison operations as
      regards NaN handling.  In all these datatypes, NaN is arbitrarily
      considered larger than any normal value ... but MIN/MAX had not gotten
      the word.  Per recent discussion on pgsql-sql.
      4b1c6695
  27. Jul 27, 2003
  28. May 26, 2003
  29. May 25, 2003
  30. May 09, 2003
  31. Apr 21, 2003
  32. 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
  33. Nov 08, 2002
  34. Oct 19, 2002
  35. Sep 04, 2002
Loading