Skip to content
Snippets Groups Projects
  1. Jul 30, 2001
  2. Jul 23, 2001
  3. Jul 21, 2001
  4. Jul 20, 2001
  5. Jul 19, 2001
    • Tom Lane's avatar
      8a59f336
    • Tom Lane's avatar
      Arrange to recycle old XLOG log segment files as new segment files, · 7d4d5c00
      Tom Lane authored
      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
  6. Jul 18, 2001
  7. Jul 17, 2001
  8. Jul 16, 2001
Loading