1. 28 6月, 2001 1 次提交
    • T
      Install infrastructure for shared-memory free space map. Doesn't actually · e0c9301c
      Tom Lane 提交于
      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
  2. 22 3月, 2001 1 次提交
  3. 25 1月, 2001 1 次提交
  4. 22 12月, 2000 1 次提交
    • T
      Revise lock manager to support "session level" locks as well as "transaction · 6cc842ab
      Tom Lane 提交于
      level" locks.  A session lock is not released at transaction commit (but it
      is released on transaction abort, to ensure recovery after an elog(ERROR)).
      In VACUUM, use a session lock to protect the master table while vacuuming a
      TOAST table, so that the TOAST table can be done in an independent
      transaction.
      
      I also took this opportunity to do some cleanup and renaming in the lock
      code.  The previously noted bug in ProcLockWakeup, that it couldn't wake up
      any waiters beyond the first non-wakeable waiter, is now fixed.  Also found
      a previously unknown bug of the same kind (failure to scan all members of
      a lock queue in some cases) in DeadLockCheck.  This might have led to failure
      to detect a deadlock condition, resulting in indefinite waits, but it's
      difficult to characterize the conditions required to trigger a failure.
      6cc842ab
  5. 04 12月, 2000 1 次提交
  6. 30 11月, 2000 1 次提交
    • T
      Rearrange bufmgr header files so that buf_internals.h need not be · 680b7357
      Tom Lane 提交于
      included by everything that includes bufmgr.h --- it's supposed to be
      internals, after all, not part of the API!  This fixes the conflict
      against FreeBSD headers reported by Rosenman, by making it unnecessary
      for s_lock.h to be included by plperl.c.
      680b7357
  7. 29 11月, 2000 1 次提交
    • T
      Significant cleanups in SysV IPC handling (shared mem and semaphores). · c715fdea
      Tom Lane 提交于
      IPC key assignment will now work correctly even when multiple postmasters
      are using same logical port number (which is possible given -k switch).
      There is only one shared-mem segment per postmaster now, not 3.
      Rip out broken code for non-TAS case in bufmgr and xlog, substitute a
      complete S_LOCK emulation using semaphores in spin.c.  TAS and non-TAS
      logic is now exactly the same.
      When deadlock is detected, "Deadlock detected" is now the elog(ERROR)
      message, rather than a NOTICE that comes out before an unhelpful ERROR.
      c715fdea
  8. 22 11月, 2000 1 次提交
  9. 13 4月, 2000 1 次提交
  10. 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
  11. 07 10月, 1999 1 次提交
  12. 18 7月, 1999 1 次提交
  13. 16 7月, 1999 3 次提交
  14. 01 6月, 1999 1 次提交
  15. 29 5月, 1999 1 次提交
    • T
      Repair performance problem in SI segment manipulations: iterating · dc6d4049
      Tom Lane 提交于
      through MAXBACKENDS array entries used to be fine when MAXBACKENDS = 64.
      It's not so cool with MAXBACKENDS = 1024 (or more!), especially not in a
      frequently-used routine like SIDelExpiredDataEntries.  Repair by making
      procState array size be the soft MaxBackends limit rather than the hard
      limit, and by converting SIGetProcStateLimit() to a macro.
      dc6d4049
  16. 26 5月, 1999 1 次提交
  17. 07 3月, 1999 1 次提交
  18. 22 2月, 1999 1 次提交
  19. 21 2月, 1999 1 次提交
    • T
      Rearrange handling of MAXBACKENDS a little bit. The default setting · 9d197856
      Tom Lane 提交于
      of MAXBACKENDS is now 1024, since all it's costing is about 32 bytes of memory
      per array slot.  configure's --with-maxbackends switch now controls DEF_MAXBACKENDS
      which is simply the default value of the postmaster's -N switch.  Thus,
      the out-of-the-box configuration will still limit you to 64 backends,
      but you can go up to 1024 backends simply by restarting the postmaster with
      a different -N switch --- no rebuild required.
      9d197856
  20. 19 2月, 1999 2 次提交
    • T
      Reorder startup ops so that if preallocation of semas fails, · 4c313931
      Tom Lane 提交于
      postmaster will release whatever it did get before dying.
      4c313931
    • T
      Allow maximum number of backends to be set at configure time · e77b630c
      Tom Lane 提交于
      (--with-maxbackends).  Add a postmaster switch (-N backends) that allows
      the limit to be reduced at postmaster start time.  (You can't increase it,
      sorry to say, because there are still some fixed-size arrays.)
      Grab the number of semaphores indicated by min(MAXBACKENDS, -N) at
      postmaster startup, so that this particular form of bogus configuration
      is exposed immediately rather than under heavy load.
      e77b630c
  21. 14 2月, 1999 1 次提交
  22. 15 12月, 1998 1 次提交
  23. 01 9月, 1998 1 次提交
  24. 27 6月, 1998 3 次提交
  25. 25 6月, 1998 1 次提交
  26. 24 6月, 1998 2 次提交
  27. 23 6月, 1998 1 次提交
  28. 30 5月, 1998 1 次提交
  29. 08 9月, 1997 1 次提交
  30. 07 9月, 1997 1 次提交
  31. 08 1月, 1997 1 次提交
  32. 08 11月, 1996 1 次提交
  33. 06 11月, 1996 1 次提交
  34. 03 11月, 1996 1 次提交
    • M
      Clean up Makefile(s) · 6fac4602
      Marc G. Fournier 提交于
      Add #include "postgres.h" as required
      
      Remove #include "c.h" *and* "utils/elog.h" as applicable
      6fac4602