1. 16 Apr, 2007 4 commits
    • Alvaro Herrera's avatar
      Add a multi-worker capability to autovacuum. This allows multiple worker · e2a186b0
      Alvaro Herrera authored
      processes to be running simultaneously.  Also, now autovacuum processes do not
      count towards the max_connections limit; they are counted separately from
      regular processes, and are limited by the new GUC variable
      autovacuum_max_workers.
      
      The launcher now has intelligence to launch workers on each database every
      autovacuum_naptime seconds, limited only on the max amount of worker slots
      available.
      
      Also, the global worker I/O utilization is limited by the vacuum cost-based
      delay feature.  Workers are "balanced" so that the total I/O consumption does
      not exceed the established limit.  This part of the patch was contributed by
      ITAGAKI Takahiro.
      
      Per discussion.
      e2a186b0
    • Tom Lane's avatar
      Make plancache store cursor options so it can pass them to planner during · 42dc4b66
      Tom Lane authored
      a replan.  I had originally thought this was not necessary, but the new
      SPI facilities create a path whereby queries planned with non-default
      options can get into the cache, so it is necessary.
      42dc4b66
    • Tom Lane's avatar
      Support scrollable cursors (ie, 'direction' clause in FETCH) in plpgsql. · f01b1965
      Tom Lane authored
      Pavel Stehule, reworked a bit by Tom.
      f01b1965
    • Tom Lane's avatar
      Expose more cursor-related functionality in SPI: specifically, allow · 66888f74
      Tom Lane authored
      access to the planner's cursor-related planning options, and provide new
      FETCH/MOVE routines that allow access to the full power of those commands.
      Small refactoring of planner(), pg_plan_query(), and pg_plan_queries()
      APIs to make it convenient to pass the planning options down from SPI.
      
      This is the core-code portion of Pavel Stehule's patch for scrollable
      cursor support in plpgsql; I'll review and apply the plpgsql changes
      separately.
      66888f74
  2. 15 Apr, 2007 4 commits
  3. 14 Apr, 2007 1 commit
  4. 13 Apr, 2007 5 commits
  5. 12 Apr, 2007 8 commits
  6. 11 Apr, 2007 2 commits
  7. 10 Apr, 2007 2 commits
  8. 09 Apr, 2007 3 commits
  9. 08 Apr, 2007 6 commits
  10. 07 Apr, 2007 5 commits