postgresql/src/backend/access/transam
Tom Lane 6cc842abd3 Revise lock manager to support "session level" locks as well as "transaction
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.
2000-12-22 00:51:54 +00:00
..
Makefile WAL 2000-10-13 12:05:22 +00:00
rmgr.c No more #ifdef XLOG. 2000-11-30 08:46:26 +00:00
transam.c No more #ifdef XLOG. 2000-11-30 08:46:26 +00:00
transsup.c No more #ifdef XLOG. 2000-11-30 08:46:26 +00:00
varsup.c No more #ifdef XLOG. 2000-11-30 08:46:26 +00:00
xact.c Revise lock manager to support "session level" locks as well as "transaction 2000-12-22 00:51:54 +00:00
xid.c Latest round of fmgr updates. All functions with bool,char, or int2 2000-06-05 07:29:25 +00:00
xlog.c >> Here is a patch for the beos port (All regression tests are OK). 2000-12-18 18:45:05 +00:00
xlogutils.c No more #ifdef XLOG. 2000-11-30 08:46:26 +00:00