Skip to content
Snippets Groups Projects
  1. Sep 20, 2010
  2. Feb 26, 2010
  3. Jan 07, 2010
  4. Jan 02, 2010
  5. Jan 01, 2009
  6. Nov 14, 2008
  7. Nov 13, 2008
  8. Nov 12, 2008
  9. Jan 01, 2008
  10. Jan 05, 2007
  11. Mar 05, 2006
  12. Oct 15, 2005
  13. Jun 02, 2005
    • Tom Lane's avatar
      Change CRCs in WAL records from 64bit to 32bit for performance reasons. · 21fda22e
      Tom Lane authored
      Instead of a separate CRC on each backup block, include backup blocks
      in their parent WAL record's CRC; this is important to ensure that the
      backup block really goes with the WAL record, ie there was not a page
      tear right at the start of the backup block.  Implement a simple form
      of compression of backup blocks: drop any run of zeroes starting at
      pd_lower, so as not to store the unused 'hole' that commonly exists in
      PG heap and index pages.  Tweak PageRepairFragmentation and related
      routines to ensure they keep the unused space zeroed, so that the above
      compression method remains effective.  All per recent discussions.
      21fda22e
  14. Dec 31, 2004
    • PostgreSQL Daemon's avatar
      · 2ff50159
      PostgreSQL Daemon authored
      Tag appropriate files for rc3
      
      Also performed an initial run through of upgrading our Copyright date to
      extend to 2005 ... first run here was very simple ... change everything
      where: grep 1996-2004 && the word 'Copyright' ... scanned through the
      generated list with 'less' first, and after, to make sure that I only
      picked up the right entries ...
      2ff50159
  15. Aug 29, 2004
  16. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 55b11325
      PostgreSQL Daemon authored
      make sure the $Id tags are converted to $PostgreSQL as well ...
      55b11325
  17. Aug 04, 2003
  18. Jun 20, 2002
  19. Apr 23, 2002
  20. Nov 05, 2001
  21. Oct 28, 2001
  22. Oct 25, 2001
  23. Mar 23, 2001
  24. Mar 22, 2001
  25. Mar 13, 2001
    • Tom Lane's avatar
      XLOG (and related) changes: · 4d14fe00
      Tom Lane authored
      * Store two past checkpoint locations, not just one, in pg_control.
        On startup, we fall back to the older checkpoint if the newer one
        is unreadable.  Also, a physical copy of the newest checkpoint record
        is kept in pg_control for possible use in disaster recovery (ie,
        complete loss of pg_xlog).  Also add a version number for pg_control
        itself.  Remove archdir from pg_control; it ought to be a GUC
        parameter, not a special case (not that it's implemented yet anyway).
      
      * Suppress successive checkpoint records when nothing has been entered
        in the WAL log since the last one.  This is not so much to avoid I/O
        as to make it actually useful to keep track of the last two
        checkpoints.  If the things are right next to each other then there's
        not a lot of redundancy gained...
      
      * Change CRC scheme to a true 64-bit CRC, not a pair of 32-bit CRCs
        on alternate bytes.  Polynomial borrowed from ECMA DLT1 standard.
      
      * Fix XLOG record length handling so that it will work at BLCKSZ = 32k.
      
      * Change XID allocation to work more like OID allocation.  (This is of
        dubious necessity, but I think it's a good idea anyway.)
      
      * Fix a number of minor bugs, such as off-by-one logic for XLOG file
        wraparound at the 4 gig mark.
      
      * Add documentation and clean up some coding infelicities; move file
        format declarations out to include files where planned contrib
        utilities can get at them.
      
      * Checkpoint will now occur every CHECKPOINT_SEGMENTS log segments or
        every CHECKPOINT_TIMEOUT seconds, whichever comes first.  It is also
        possible to force a checkpoint by sending SIGUSR1 to the postmaster
        (undocumented feature...)
      
      * Defend against kill -9 postmaster by storing shmem block's key and ID
        in postmaster.pid lockfile, and checking at startup to ensure that no
        processes are still connected to old shmem block (if it still exists).
      
      * Switch backends to accept SIGQUIT rather than SIGUSR1 for emergency
        stop, for symmetry with postmaster and xlog utilities.  Clean up signal
        handling in bootstrap.c so that xlog utilities launched by postmaster
        will react to signals better.
      
      * Standalone bootstrap now grabs lockfile in target directory, as added
        insurance against running it in parallel with live postmaster.
      4d14fe00
Loading