1. 18 Mar, 2008 6 commits
  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 1 commit
    • 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