1. 02 8月, 2007 1 次提交
  2. 06 1月, 2007 1 次提交
  3. 05 3月, 2006 1 次提交
  4. 23 11月, 2005 1 次提交
  5. 15 10月, 2005 1 次提交
  6. 18 6月, 2005 1 次提交
  7. 21 2月, 2005 1 次提交
    • T
      Remove some no-longer-needed kluges for bootstrapping, in particular · 4aefe755
      Tom Lane 提交于
      the AMI_OVERRIDE flag.  The fact that TransactionLogFetch treats
      BootstrapTransactionId as always committed is sufficient to make
      bootstrap work, and getting rid of extra tests in heavily used code
      paths seems like a win.  The files produced by initdb are demonstrably
      the same after this change.
      4aefe755
  8. 01 1月, 2005 1 次提交
    • P
      · 2ff50159
      PostgreSQL Daemon 提交于
      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
  9. 17 9月, 2004 1 次提交
  10. 29 8月, 2004 3 次提交
  11. 22 8月, 2004 1 次提交
    • T
      Tweak code so that pg_subtrans is never consulted for XIDs older than · f009c316
      Tom Lane 提交于
      RecentXmin (== MyProc->xmin).  This ensures that it will be safe to
      truncate pg_subtrans at RecentGlobalXmin, which should largely eliminate
      any fear of bloat.  Along the way, eliminate SubTransXidsHaveCommonAncestor,
      which isn't really needed and could not give a trustworthy result anyway
      under the lookback restriction.
      In an unrelated but nearby change, #ifdef out GetUndoRecPtr, which has
      been dead code since 2001 and seems unlikely to ever be resurrected.
      f009c316
  12. 01 7月, 2004 1 次提交
  13. 30 11月, 2003 1 次提交
    • P
      · 969685ad
      PostgreSQL Daemon 提交于
      $Header: -> $PostgreSQL Changes ...
      969685ad
  14. 04 8月, 2003 1 次提交
  15. 05 9月, 2002 1 次提交
  16. 21 6月, 2002 1 次提交
  17. 11 6月, 2002 1 次提交
    • J
      Katherine Ward wrote: · 469cb65a
      Jan Wieck 提交于
      > Changes to avoid collisions with WIN32 & MFC names...
      > 1.  Renamed:
      >       a.  PROC => PGPROC
      >       b.  GetUserName() => GetUserNameFromId()
      >       c.  GetCurrentTime() => GetCurrentDateTime()
      >       d.  IGNORE => IGNORE_DTF in include/utils/datetime.h & utils/adt/datetim
      >
      > 2.  Added _P to some lex/yacc tokens:
      >       CONST, CHAR, DELETE, FLOAT, GROUP, IN, OUT
      
      Jan
      469cb65a
  18. 26 5月, 2002 1 次提交
  19. 06 11月, 2001 1 次提交
  20. 25 10月, 2001 1 次提交
  21. 27 8月, 2001 1 次提交
  22. 26 8月, 2001 1 次提交
    • T
      Replace implementation of pg_log as a relation accessed through the · 2589735d
      Tom Lane 提交于
      buffer manager with 'pg_clog', a specialized access method modeled
      on pg_xlog.  This simplifies startup (don't need to play games to
      open pg_log; among other things, OverrideTransactionSystem goes away),
      should improve performance a little, and opens the door to recycling
      commit log space by removing no-longer-needed segments of the commit
      log.  Actual recycling is not there yet, but I felt I should commit
      this part separately since it'd still be useful if we chose not to
      do transaction ID wraparound.
      2589735d
  23. 24 8月, 2001 1 次提交
  24. 12 7月, 2001 1 次提交
  25. 15 5月, 2001 1 次提交
  26. 22 3月, 2001 2 次提交
  27. 19 3月, 2001 1 次提交
  28. 13 3月, 2001 1 次提交
    • T
      XLOG (and related) changes: · 4d14fe00
      Tom Lane 提交于
      * 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
  29. 25 1月, 2001 1 次提交
  30. 30 11月, 2000 1 次提交
  31. 22 11月, 2000 1 次提交
  32. 03 11月, 2000 1 次提交
  33. 04 8月, 2000 1 次提交
    • T
      Modify heap_open()/heap_openr() API per pghackers discussion of 11 July. · 61aca818
      Tom Lane 提交于
      These two routines will now ALWAYS elog() on failure, whether you ask for
      a lock or not.  If you really want to get a NULL return on failure, call
      the new routines heap_open_nofail()/heap_openr_nofail().  By my count there
      are only about three places that actually want that behavior.  There were
      rather more than three places that were missing the check they needed to
      make under the old convention :-(.
      61aca818
  34. 13 4月, 2000 1 次提交
  35. 26 1月, 2000 1 次提交
    • B
      Add: · 5c25d602
      Bruce Momjian 提交于
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  36. 19 9月, 1999 1 次提交
    • T
      Mega-commit to make heap_open/heap_openr/heap_close take an · bd272cac
      Tom Lane 提交于
      additional argument specifying the kind of lock to acquire/release (or
      'NoLock' to do no lock processing).  Ensure that all relations are locked
      with some appropriate lock level before being examined --- this ensures
      that relevant shared-inval messages have been processed and should prevent
      problems caused by concurrent VACUUM.  Fix several bugs having to do with
      mismatched increment/decrement of relation ref count and mismatched
      heap_open/close (which amounts to the same thing).  A bogus ref count on
      a relation doesn't matter much *unless* a SI Inval message happens to
      arrive at the wrong time, which is probably why we got away with this
      sloppiness for so long.  Repair missing grab of AccessExclusiveLock in
      DROP TABLE, ALTER/RENAME TABLE, etc, as noted by Hiroshi.
      Recommend 'make clean all' after pulling this update; I modified the
      Relation struct layout slightly.
      Will post further discussion to pghackers list shortly.
      bd272cac
  37. 09 8月, 1999 1 次提交