1. 06 Jan, 2006 1 commit
  2. 22 Nov, 2005 1 commit
  3. 15 Oct, 2005 1 commit
  4. 20 Jun, 2005 1 commit
  5. 07 May, 2005 1 commit
    • Tom Lane's avatar
      Repair very-low-probability race condition between relation extension · 30f540be
      Tom Lane authored
      and VACUUM: in the interval between adding a new page to the relation
      and formatting it, it was possible for VACUUM to come along and decide
      it should format the page too.  Though not harmful in itself, this would
      cause data loss if a third transaction were able to insert tuples into
      the vacuumed page before the original extender got control back.
      30f540be
  6. 29 Apr, 2005 1 commit
    • Tom Lane's avatar
      Restructure LOCKTAG as per discussions of a couple months ago. · 3a694bb0
      Tom Lane authored
      Essentially, we shoehorn in a lockable-object-type field by taking
      a byte away from the lockmethodid, which can surely fit in one byte
      instead of two.  This allows less artificial definitions of all the
      other fields of LOCKTAG; we can get rid of the special pg_xactlock
      pseudo-relation, and also support locks on individual tuples and
      general database objects (including shared objects).  None of those
      possibilities are actually exploited just yet, however.
      
      I removed pg_xactlock from pg_class, but did not force initdb for
      that change.  At this point, relkind 's' (SPECIAL) is unused and
      could be removed entirely.
      3a694bb0
  7. 31 Dec, 2004 1 commit
    • 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
  8. 29 Aug, 2004 1 commit
  9. 28 Aug, 2004 1 commit
    • Tom Lane's avatar
      Fix relcache to account properly for subtransaction status of 'new' · 1c72d0de
      Tom Lane authored
      relcache entries.  Also, change TransactionIdIsCurrentTransactionId()
      so that if consulted during transaction abort, it will not say that
      the aborted xact is still current.  (It would be better to ensure that
      it's never called at all during abort, but I'm not sure we can easily
      guarantee that.)  In combination, these fix a crash we have seen
      occasionally during parallel regression tests of 8.0.
      1c72d0de
  10. 29 Nov, 2003 1 commit
    • PostgreSQL Daemon's avatar
      · 55b11325
      PostgreSQL Daemon authored
      make sure the $Id tags are converted to $PostgreSQL as well ...
      55b11325
  11. 25 Sep, 2003 1 commit
  12. 04 Aug, 2003 1 commit
  13. 21 Jul, 2003 1 commit
  14. 13 Feb, 2003 1 commit
  15. 06 Aug, 2002 1 commit
    • Tom Lane's avatar
      Restructure local-buffer handling per recent pghackers discussion. · 5df307c7
      Tom Lane authored
      The local buffer manager is no longer used for newly-created relations
      (unless they are TEMP); a new non-TEMP relation goes through the shared
      bufmgr and thus will participate normally in checkpoints.  But TEMP relations
      use the local buffer manager throughout their lifespan.  Also, operations
      in TEMP relations are not logged in WAL, thus improving performance.
      Since it's no longer necessary to fsync relations as they move out of the
      local buffers into shared buffers, quite a lot of smgr.c/md.c/fd.c code
      is no longer needed and has been removed: there's no concept of a dirty
      relation anymore in md.c/fd.c, and we never fsync anything but WAL.
      Still TODO: improve local buffer management algorithms so that it would
      be reasonable to increase NLocBuffer.
      5df307c7
  16. 20 Jun, 2002 1 commit
  17. 02 Mar, 2002 1 commit
    • Bruce Momjian's avatar
      Commit to match discussed elog() changes. Only update is that LOG is · a033daf5
      Bruce Momjian authored
      now just below FATAL in server_min_messages.  Added more text to
      highlight ordering difference between it and client_min_messages.
      
      ---------------------------------------------------------------------------
      
      REALLYFATAL => PANIC
      STOP => PANIC
      New INFO level the prints to client by default
      New LOG level the prints to server log by default
      Cause VACUUM information to print only to the client
      NOTICE => INFO where purely information messages are sent
      DEBUG => LOG for purely server status messages
      DEBUG removed, kept as backward compatible
      DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1 added
      DebugLvl removed in favor of new DEBUG[1-5] symbols
      New server_min_messages GUC parameter with values:
              DEBUG[5-1], INFO, NOTICE, ERROR, LOG, FATAL, PANIC
      New client_min_messages GUC parameter with values:
              DEBUG[5-1], LOG, INFO, NOTICE, ERROR, FATAL, PANIC
      Server startup now logged with LOG instead of DEBUG
      Remove debug_level GUC parameter
      elog() numbers now start at 10
      Add test to print error message if older elog() values are passed to elog()
      Bootstrap mode now has a -d that requires an argument, like postmaster
      a033daf5
  18. 25 Oct, 2001 1 commit
  19. 13 Jul, 2001 1 commit
  20. 29 Jun, 2001 1 commit
    • Tom Lane's avatar
      Further work on connecting the free space map (which is still just a · af5ced9c
      Tom Lane authored
      stub) into the rest of the system.  Adopt a cleaner approach to preventing
      deadlock in concurrent heap_updates: allow RelationGetBufferForTuple to
      select any page of the rel, and put the onus on it to lock both buffers
      in a consistent order.  Remove no-longer-needed isExtend hack from
      API of ReleaseAndReadBuffer.
      af5ced9c
  21. 27 Jun, 2001 1 commit
    • Tom Lane's avatar
      Install infrastructure for shared-memory free space map. Doesn't actually · e0c9301c
      Tom Lane authored
      do anything yet, but it has the necessary connections to initialization
      and so forth.  Make some gestures towards allowing number of blocks in
      a relation to be BlockNumber, ie, unsigned int, rather than signed int.
      (I doubt I got all the places that are sloppy about it, yet.)  On the
      way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC
      variable.
      e0c9301c
  22. 16 May, 2001 1 commit
    • Tom Lane's avatar
      Repair race condition introduced into heap_update() in 7.1 --- · 27336e4f
      Tom Lane authored
      PageGetFreeSpace() was being called while not holding the buffer lock, which
      not only could yield a garbage answer, but even if it's the right answer there
      might be less space available after we reacquire the buffer lock.
      
      Also repair potential deadlock introduced by my recent performance improvement
      in RelationGetBufferForTuple(): it was possible for two heap_updates to try to
      lock two buffers in opposite orders.  The fix creates a global rule that
      buffers of a single heap relation should be locked in decreasing block number
      order.  Currently, this only applies to heap_update; VACUUM can get away with
      ignoring the rule since it holds exclusive lock on the whole relation anyway.
      However, if we try to implement a VACUUM that can run in parallel with other
      transactions, VACUUM will also have to obey the lock order rule.
      27336e4f
  23. 12 May, 2001 1 commit
    • Tom Lane's avatar
      Modify RelationGetBufferForTuple() so that we only do lseek and lock · eedb7d18
      Tom Lane authored
      when we need to move to a new page; as long as we can insert the new
      tuple on the same page as before, we only need LockBuffer and not the
      expensive stuff.  Also, twiddle bufmgr interfaces to avoid redundant
      lseeks in RelationGetBufferForTuple and BufferAlloc.  Successive inserts
      now require one lseek per page added, rather than one per tuple with
      several additional ones at each page boundary as happened before.
      Lock contention when multiple backends are inserting in same table
      is also greatly reduced.
      eedb7d18
  24. 22 Mar, 2001 2 commits
  25. 24 Jan, 2001 1 commit
  26. 16 Nov, 2000 1 commit
    • Bruce Momjian's avatar
      Make pgsql compile on FreeBSD-alpha. · 312063c9
      Bruce Momjian authored
      Context diff this time.
      
      Remove -m486 compile args for FreeBSD-i386, compile -O2 on i386.
      
      Compile with only -O on alpha for codegen safety.
      
      Make the port use the TEST_AND_SET for alpha and i386 on FreeBSD.
      
      Fix a lot of bogus string formats for outputting pointers (cast to int
      and %u/%x replaced with no cast and %p), and 'Size'(size_t) are now
      cast to 'unsigned long' and output with %lu/
      
      Remove an unused variable.
      
      Alfred Perlstein
      312063c9
  27. 07 Sep, 2000 1 commit
  28. 03 Jul, 2000 1 commit
  29. 12 Apr, 2000 1 commit
  30. 17 Mar, 2000 1 commit
  31. 26 Jan, 2000 1 commit
    • Bruce Momjian's avatar
      Add: · 5c25d602
      Bruce Momjian authored
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  32. 15 Jan, 2000 1 commit
  33. 29 Nov, 1999 1 commit
  34. 19 Jul, 1999 1 commit
  35. 16 Jul, 1999 1 commit
  36. 15 Jul, 1999 2 commits
  37. 03 Jul, 1999 2 commits