1. 20 7月, 2001 2 次提交
  2. 19 7月, 2001 1 次提交
    • T
      Arrange to recycle old XLOG log segment files as new segment files, · 7d4d5c00
      Tom Lane 提交于
      rather than deleting them only to have to create more.  Steady state
      is 2*CHECKPOINT_SEGMENTS + WAL_FILES + 1 segment files, which will
      simply be renamed rather than constantly deleted and recreated.
      To make this safe, added current XLOG file/offset number to page
      header of XLOG pages, so that an un-overwritten page from an old
      incarnation of a logfile can be reliably told from a valid page.
      This change means that if you try to restart postmaster in a CVS-tip
      database after installing the change, you'll get a complaint about
      bad XLOG page magic number.  If you don't want to initdb, run
      contrib/pg_resetxlog (and be sure you shut down the old postmaster
      cleanly).
      7d4d5c00
  3. 18 7月, 2001 3 次提交
  4. 17 7月, 2001 7 次提交
  5. 16 7月, 2001 6 次提交
    • B
      Update TODO list. · 8ba3548e
      Bruce Momjian 提交于
      8ba3548e
    • T
      Partial indexes work again, courtesy of Martijn van Oosterhout. · f31dc0ad
      Tom Lane 提交于
      Note: I didn't force an initdb, figuring that one today was enough.
      However, there is a new function in pg_proc.h, and pg_dump won't be
      able to dump partial indexes until you add that function.
      f31dc0ad
    • B
      Update TODO list. · 237e5dfa
      Bruce Momjian 提交于
      237e5dfa
    • B
      Update TODO list. · a9bf7730
      Bruce Momjian 提交于
      a9bf7730
    • T
      Restructure index AM interface for index building and index tuple deletion, · c8076f09
      Tom Lane 提交于
      per previous discussion on pghackers.  Most of the duplicate code in
      different AMs' ambuild routines has been moved out to a common routine
      in index.c; this means that all index types now do the right things about
      inserting recently-dead tuples, etc.  (I also removed support for EXTEND
      INDEX in the ambuild routines, since that's about to go away anyway, and
      it cluttered the code a lot.)  The retail indextuple deletion routines have
      been replaced by a "bulk delete" routine in which the indexscan is inside
      the access method.  I haven't pushed this change as far as it should go yet,
      but it should allow considerable simplification of the internal bookkeeping
      for deletions.  Also, add flag columns to pg_am to eliminate various
      hardcoded tests on AM OIDs, and remove unused pg_am columns.
      
      Fix rtree and gist index types to not attempt to store NULLs; before this,
      gist usually crashed, while rtree managed not to crash but computed wacko
      bounding boxes for NULL entries (which might have had something to do with
      the performance problems we've heard about occasionally).
      
      Add AtEOXact routines to hash, rtree, and gist, all of which have static
      state that needs to be reset after an error.  We discovered this need long
      ago for btree, but missed the other guys.
      
      Oh, one more thing: concurrent VACUUM is now the default.
      c8076f09
    • T
      Add ORDER BY to a couple of test queries whose output ordering is not · 997439f5
      Tom Lane 提交于
      as predictable as it used to be, due to recycling of free space with
      new VACUUM.
      997439f5
  6. 15 7月, 2001 6 次提交
  7. 14 7月, 2001 4 次提交
  8. 13 7月, 2001 6 次提交
  9. 12 7月, 2001 5 次提交