Skip to content
Snippets Groups Projects
  1. Feb 28, 2007
    • Tom Lane's avatar
      Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). · 234a02b2
      Tom Lane authored
      Get rid of VARATT_SIZE and VARATT_DATA, which were simply redundant with
      VARSIZE and VARDATA, and as a consequence almost no code was using the
      longer names.  Rename the length fields of struct varlena and various
      derived structures to catch anyplace that was accessing them directly;
      and clean up various places so caught.  In itself this patch doesn't
      change any behavior at all, but it is necessary infrastructure if we hope
      to play any games with the representation of varlena headers.
      Greg Stark and Tom Lane
      234a02b2
  2. Jan 05, 2007
  3. Jul 14, 2006
  4. Mar 05, 2006
  5. Nov 19, 2005
    • Tom Lane's avatar
      Change array_push and array_cat so that they retain the lower bound of · 1e9a1a70
      Tom Lane authored
      the array (for array_push) or higher-dimensional array (for array_cat)
      rather than decrementing it as before.  This avoids generating lower
      bounds other than one for any array operation within the SQL spec.  Per
      recent discussion.
      Interestingly, this seems to have been the original behavior, because
      while updating the docs I noticed that a large fraction of relevant
      examples were *wrong* for the old behavior and are now right.  Is it
      worth correcting this in the back-branch docs?
      1e9a1a70
  6. 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
  7. Oct 15, 2005
  8. Jan 01, 2005
  9. Dec 17, 2004
  10. Aug 29, 2004
  11. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  12. Sep 25, 2003
  13. Sep 15, 2003
  14. Sep 10, 2003
  15. Aug 18, 2003
  16. Aug 04, 2003
  17. Jul 27, 2003
  18. Jul 01, 2003
  19. Jun 27, 2003
    • Tom Lane's avatar
      Create real array comparison functions (that use the element datatype's · b3c0551e
      Tom Lane authored
      comparison functions), replacing the highly bogus bitwise array_eq.  Create
      a btree index opclass for ANYARRAY --- it is now possible to create indexes
      on array columns.
      Arrange to cache the results of catalog lookups across multiple array
      operations, instead of repeating the lookups on every call.
      Add string_to_array and array_to_string functions.
      Remove singleton_array, array_accum, array_assign, and array_subscript
      functions, since these were for proof-of-concept and not intended to become
      supported functions.
      Minor adjustments to behavior in some corner cases with empty or
      zero-dimensional arrays.
      
      Joe Conway (with some editorializing by Tom Lane).
      b3c0551e
  20. Jun 25, 2003
  21. Apr 09, 2003
Loading