1. 29 Feb, 2012 1 commit
    • Tom Lane's avatar
      Move CRC tables to libpgport, and provide them in a separate include file. · 5c02a00d
      Tom Lane authored
      This makes it much more convenient to build tools for Postgres that are
      separately compiled and require a matching CRC implementation.
      
      To prevent multiple copies of the CRC polynomial tables being introduced
      into the postgres binaries, they are now included in the static library
      libpgport that is mainly meant for replacement system functions.  That
      seems like a bit of a kludge, but there's no better place.
      
      This cleans up building of the tools pg_controldata and pg_resetxlog,
      which previously had to build their own copies of pg_crc.o.
      
      In the future, external programs that need access to the CRC tables can
      include the tables directly from the new header file pg_crc_tables.h.
      
      Daniel Farina, reviewed by Abhijit Menon-Sen and Tom Lane
      5c02a00d
  2. 20 Sep, 2010 1 commit
  3. 19 Feb, 2008 1 commit
  4. 20 Jan, 2007 1 commit
  5. 29 Nov, 2003 1 commit
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  6. 13 Mar, 2001 1 commit
    • 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
  7. 31 Aug, 2000 1 commit
  8. 29 May, 2000 1 commit
  9. 13 Dec, 1999 1 commit
  10. 09 Dec, 1999 1 commit
  11. 06 Apr, 1998 1 commit
    • Bruce Momjian's avatar
      Hi, · 1e801a8f
      Bruce Momjian authored
      Attached you'll find a (big) patch that fixes make dep and make
      depend in all Makefiles where I found it to be appropriate.
      
      It also removes the dependency in Makefile.global for NAMEDATALEN
      and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
      a little smarter.
      
      This no longer requires initdb.sh that is turned into initdb with
      a sed script when installing Postgres, hence initdb.sh should be
      renamed to initdb (after the patch has been applied :-) )
      
      This patch is against the 6.3 sources, as it took a while to
      complete.
      
      Please review and apply,
      
      Cheers,
      
      Jeroen van Vianen
      1e801a8f
  12. 20 Dec, 1997 1 commit
  13. 19 Dec, 1997 1 commit
  14. 09 Nov, 1996 1 commit
  15. 27 Oct, 1996 1 commit