1. 09 Jan, 2011 13 commits
    • Tom Lane's avatar
      Update contrib/hstore for new GIN extractQuery API. · ba398969
      Tom Lane authored
      In particular, make hstore @> '' succeed for all hstores, likewise
      hstore ?& '{}'.  Previously the results were inconsistent and could
      depend on whether you were using a GiST index, GIN index, or seqscan.
      ba398969
    • Tom Lane's avatar
      Improve comment. · 327b2576
      Tom Lane authored
      327b2576
    • Magnus Hagander's avatar
      Split pg_start_backup() and pg_stop_backup() into two pieces · 4448917d
      Magnus Hagander authored
      Move the actual functionality into a separate function that's
      easier to call internally, and change the SQL-callable function
      to be a wrapper calling this.
      
      Also create a pg_abort_backup() function, only callable internally,
      that does only the most vital parts of pg_stop_backup(), making it
      safe(r) to call from error handlers.
      4448917d
    • Heikki Linnakangas's avatar
      Fix crash in the new GiST insertion code, when an update splits the root page. · ca63029e
      Heikki Linnakangas authored
      This bug was exercised by contrib/intarray/bench, as noted by Tom Lane.
      ca63029e
    • Tom Lane's avatar
      Fix up core tsquery GIN support for new extractQuery API. · 52fd2d65
      Tom Lane authored
      No need for the empty-prefix-match kluge to force a full scan anymore.
      52fd2d65
    • Tom Lane's avatar
      Use array_contains_nulls instead of ARR_HASNULL on user-supplied arrays. · 30484507
      Tom Lane authored
      This applies the fix for bug #5784 to remaining places where we wish
      to reject nulls in user-supplied arrays.  In all these places, there's
      no reason not to allow a null bitmap to be present, so long as none of
      the current elements are actually null.
      
      I did not change some other places where we are looking at system catalog
      entries or aggregate transition values, as the presence of a null bitmap
      in such an array would be suspicious.
      30484507
    • Magnus Hagander's avatar
      Ensure the directory for gram.h is created on win32 · 361418be
      Magnus Hagander authored
      Result of bad testing of my last commit.
      361418be
    • Magnus Hagander's avatar
      Properly install gram.h on MSVC builds · 3457514c
      Magnus Hagander authored
      This file is now needed by pgAdmin builds, which started
      failing since it was missing in the installer builds.
      3457514c
    • Magnus Hagander's avatar
      Add pgreadlink() on Windows to read junction points · db4d22d0
      Magnus Hagander authored
      Add support for reading back information about the symbolic
      links we've created with pgsymlink(), which are actually
      Junction Points. Just like pgsymlink() can only create directory
      symlinks, pgreadlink() can only read directory symlinks.
      db4d22d0
    • Michael Meskes's avatar
    • Tom Lane's avatar
      Fix assorted corner-case bugs in contrib/intarray. · fdf2dbda
      Tom Lane authored
      The array containment operators now behave per mathematical expectation
      for empty arrays (ie, an empty array is contained in anything).
      Both these operators and the query_int operators now work as expected in
      GiST and GIN index searches, rather than having corner cases where the
      index searches gave different answers.
      
      Also, fix unexpected failures where the operators would claim that an array
      contained nulls, when in fact there was no longer any null present (similar
      to bug #5784).  The restriction to not have nulls is still there, as
      removing it would take a lot of added code complexity and probably slow
      things down significantly.
      
      Also, remove the arbitrary restriction to 1-D arrays; unlike the other
      restriction, this was buying us nothing performance-wise.
      
      Assorted cosmetic improvements and marginal performance improvements, too.
      fdf2dbda
    • Tom Lane's avatar
      Add array_contains_nulls() function in arrayfuncs.c. · adf328c0
      Tom Lane authored
      This will support fixing contrib/intarray (and probably other places)
      so that they don't have to fail on arrays that contain a null bitmap
      but no live null entries.
      adf328c0
    • Tom Lane's avatar
      Fix up gincostestimate for new extractQuery API. · 4d1b76e4
      Tom Lane authored
      The only reason this wasn't crashing while testing the core anyarray
      operators was that it was disabled for those cases because of passing the
      wrong type information to get_opfamily_proc :-(.  So fix that too, and make
      it insist on finding the support proc --- in hindsight, silently doing
      nothing is not as sane a coping mechanism as all that.
      4d1b76e4
  2. 08 Jan, 2011 18 commits
  3. 07 Jan, 2011 4 commits
  4. 06 Jan, 2011 5 commits