1. 19 11月, 2008 8 次提交
    • H
      Rethink the way FSM truncation works. Instead of WAL-logging FSM · 33960006
      Heikki Linnakangas 提交于
      truncations in FSM code, call FreeSpaceMapTruncateRel from smgr_redo. To
      make that cleaner from modularity point of view, move the WAL-logging one
      level up to RelationTruncate, and move RelationTruncate and all the
      related WAL-logging to new src/backend/catalog/storage.c file. Introduce
      new RelationCreateStorage and RelationDropStorage functions that are used
      instead of calling smgrcreate/smgrscheduleunlink directly. Move the
      pending rel deletion stuff from smgrcreate/smgrscheduleunlink to the new
      functions. This leaves smgr.c as a thin wrapper around md.c; all the
      transactional stuff is now in storage.c.
      
      This will make it easier to add new forks with similar truncation logic,
      like the visibility map.
      33960006
    • T
      Fix compiler warning "res may be used uninitialized in this function". · 26e6c896
      Teodor Sigaev 提交于
      Actually, it can't but some compilers are not smart enough.
      Per Peter Eisentraut gripe.
      26e6c896
    • P
      Change this script to Perl 5 style. Add support for multiple refnames. · 8b4da404
      Peter Eisentraut 提交于
      Sort the output by command name.  This previously only worked by source
      file name, which doesn't always match the command name exactly.  And it
      certainly won't work for multiple refnames.
      8b4da404
    • B
      Add "Most Common Implementation" row to high availablity table so the · 89ad92a2
      Bruce Momjian 提交于
      table is less abstract.  Most common implementations were already
      mentioned in the text.
      89ad92a2
    • T
      Add auto-explain contrib module for automatic logging of the plans of · e125e28e
      Tom Lane 提交于
      slow-running queries.
      
      Takahiro Itagaki
      e125e28e
    • T
      Fix define_custom_variable so that SUSET custom variables behave · 31ec957a
      Tom Lane 提交于
      somewhat reasonably.  It's not perfect, but it beats the kluge
      proposed in the auto-explain patch ...
      31ec957a
    • T
      Some infrastructure changes for the upcoming auto-explain contrib module: · cd35e9d7
      Tom Lane 提交于
      * Refactor explain.c slightly to export a convenient-to-use subroutine
      for printing EXPLAIN results.
      
      * Provide hooks for plugins to get control at ExecutorStart and ExecutorEnd
      as well as ExecutorRun.
      
      * Add some minimal support for tracking the total runtime of ExecutorRun.
      This code won't actually do anything unless a plugin prods it to.
      
      * Change the API of the DefineCustomXXXVariable functions to allow nonzero
      "flags" to be specified for a custom GUC variable.  While at it, also make
      the "bootstrap" default value for custom GUCs be explicitly specified as a
      parameter to these functions.  This is to eliminate confusion over where the
      default comes from, as has been expressed in the past by some users of the
      custom-variable facility.
      
      * Refactor GUC code a bit to ensure that a custom variable gets initialized to
      something valid (like its default value) even if the placeholder value was
      invalid.
      cd35e9d7
    • M
      Add required include to build with cygwin. · 667685ca
      Magnus Hagander 提交于
      Andrew Chernow
      667685ca
  2. 18 11月, 2008 2 次提交
  3. 17 11月, 2008 2 次提交
  4. 16 11月, 2008 4 次提交
  5. 15 11月, 2008 11 次提交
  6. 14 11月, 2008 12 次提交
  7. 13 11月, 2008 1 次提交