1. 31 Jul, 2001 2 commits
    • Tom Lane's avatar
      Fix unportable coding for FRONTEND case. · c4c194f1
      Tom Lane authored
      c4c194f1
    • Tom Lane's avatar
      Change SQL commands embedded in the initdb script from the style · 267a8f82
      Tom Lane authored
      	echo "command" | postgres
      to the style
      	postgres <<EOF
      		command
      	EOF
      This makes the script more legible (IMHO anyway) by reducing the need
      to escape quotes, and allows us to execute successive SQL commands in
      a single standalone-backend run, rather than needing to start a new
      standalone backend for each command.  With all the CREATE VIEWs that
      are getting done now, this makes for a rather substantial reduction
      in the runtime of initdb.  (Some of us do initdb often enough to care
      how long it runs ;-).)
      267a8f82
  2. 30 Jul, 2001 8 commits
  3. 29 Jul, 2001 1 commit
  4. 22 Jul, 2001 1 commit
  5. 21 Jul, 2001 9 commits
  6. 20 Jul, 2001 7 commits
  7. 19 Jul, 2001 2 commits
    • 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
  8. 18 Jul, 2001 2 commits
  9. 17 Jul, 2001 2 commits
  10. 16 Jul, 2001 6 commits