1. 05 Jan, 2009 2 commits
  2. 04 Jan, 2009 4 commits
  3. 03 Jan, 2009 2 commits
    • Tom Lane's avatar
      Allow loadable modules to create PGC_POSTMASTER GUC variables, but only · 4605d1c9
      Tom Lane authored
      when loaded via shared_preload_libraries.  Needed for support of
      pg_stat_statements, or pretty much anything else that wants a GUC to
      control size of a shared memory allocation.
      4605d1c9
    • Tom Lane's avatar
      Create a "shmem_startup_hook" to be called at the end of shared memory · dad75a62
      Tom Lane authored
      initialization, to give loadable modules a reasonable place to perform
      creation of any shared memory areas they need.  This is the logical conclusion
      of our previous creation of RequestAddinShmemSpace() and RequestAddinLWLocks().
      We don't need an explicit shmem_shutdown_hook, because the existing
      on_shmem_exit and on_proc_exit mechanisms serve that need.
      
      Also, adjust SubPostmasterMain so that libraries that got loaded into the
      postmaster will be loaded into all child processes, not only regular backends.
      This improves consistency with the non-EXEC_BACKEND behavior, and might be
      necessary for functionality for some types of add-ons.
      dad75a62
  4. 02 Jan, 2009 9 commits
  5. 01 Jan, 2009 7 commits
  6. 31 Dec, 2008 5 commits
  7. 30 Dec, 2008 3 commits
  8. 29 Dec, 2008 4 commits
  9. 28 Dec, 2008 1 commit
  10. 27 Dec, 2008 1 commit
    • Tom Lane's avatar
      Make a couple of small changes to the tuplestore API, for the benefit of the · 38e93482
      Tom Lane authored
      upcoming window-functions patch.  First, tuplestore_trim is now an
      exported function that must be explicitly invoked by callers at
      appropriate times, rather than something that tuplestore tries to do
      behind the scenes.  Second, a read pointer that is marked as allowing
      backward scan no longer prevents truncation.  This means that a read pointer
      marked as having BACKWARD but not REWIND capability can only safely read
      backwards as far as the oldest other read pointer.  (The expected use pattern
      for this involves having another read pointer that serves as the truncation
      fencepost.)
      38e93482
  11. 26 Dec, 2008 1 commit
  12. 24 Dec, 2008 1 commit