1. 18 Mar, 2008 1 commit
  2. 17 Mar, 2008 20 commits
  3. 16 Mar, 2008 4 commits
  4. 15 Mar, 2008 1 commit
    • Tom Lane's avatar
      Change hash index creation so that rather than always establishing exactly · c9a1cc69
      Tom Lane authored
      two buckets at the start, we create a number of buckets appropriate for the
      estimated size of the table.  This avoids a lot of expensive bucket-split
      actions during initial index build on an already-populated table.
      
      This is one of the two core ideas of Tom Raney and Shreya Bhargava's patch
      to reduce hash index build time.  I'm committing it separately to make it
      easier for people to test the effects of this separately from the effects
      of their other core idea (pre-sorting the index entries by bucket number).
      c9a1cc69
  5. 14 Mar, 2008 3 commits
  6. 13 Mar, 2008 5 commits
  7. 12 Mar, 2008 6 commits
    • Tom Lane's avatar
      Fix pg_plan_queries() to restore the previous setting of ActiveSnapshot · da6a707c
      Tom Lane authored
      (probably NULL) before exiting.  Up to now it's just left the variable as it
      set it, which means that after we're done processing the current client
      message, ActiveSnapshot is probably pointing at garbage (because this function
      is typically run in MessageContext which will get reset).  There doesn't seem
      to have been any code path in which that mattered before 8.3, but now the
      plancache module might try to use the stale value if the next client message
      is a Bind for a prepared statement that is in need of replanning.  Per report
      from Alex Hunsaker.
      da6a707c
    • Bruce Momjian's avatar
      Add psql TODO: · 0d540b09
      Bruce Momjian authored
      < * Include the symbolic SQLSTATE name in verbose error reports
      <
      <   http://archives.postgresql.org/pgsql-general/2007-09/msg00438.php
      0d540b09
    • Bruce Momjian's avatar
      Add to TODO: · 4fed6e3f
      Bruce Momjian authored
      > * Expire published xmin for read-only and idle transactions
      >
      >   http://archives.postgresql.org/pgsql-hackers/2007-09/msg00343.php
      4fed6e3f
    • Tom Lane's avatar
      Fix LISTEN/NOTIFY race condition reported by Laurent Birtz, by postponing · 033eb158
      Tom Lane authored
      pg_listener modifications commanded by LISTEN and UNLISTEN until the end
      of the current transaction.  This allows us to hold the ExclusiveLock on
      pg_listener until after commit, with no greater risk of deadlock than there
      was before.  Aside from fixing the race condition, this gets rid of a
      truly ugly kludge that was there before, namely having to ignore
      HeapTupleBeingUpdated failures during NOTIFY.  There is a small potential
      incompatibility, which is that if a transaction issues LISTEN or UNLISTEN
      and then looks into pg_listener before committing, it won't see any resulting
      row insertion or deletion, where before it would have.  It seems unlikely
      that anyone would be depending on that, though.
      
      This patch also disallows LISTEN and UNLISTEN inside a prepared transaction.
      That case had some pretty undesirable properties already, such as possibly
      allowing pg_listener entries to be made for PIDs no longer present, so
      disallowing it seems like a better idea than trying to maintain the behavior.
      033eb158
    • Bruce Momjian's avatar
      Add: · 1c228fa5
      Bruce Momjian authored
      >
      > * Consider a special data type for regular expressions
      >
      >   http://archives.postgresql.org/pgsql-hackers/2007-08/msg01067.php
      1c228fa5
    • Bruce Momjian's avatar
      Back out text search change to TODO. · 582f32fd
      Bruce Momjian authored
      582f32fd