pgsql/src/backend/storage/lmgr (lmgr.c lock.c proc.c README)

Поиск
Список
Период
Сортировка
От tgl@postgresql.org
Тема pgsql/src/backend/storage/lmgr (lmgr.c lock.c proc.c README)
Дата
Msg-id 200012220051.eBM0psY58140@hub.org
обсуждение исходный текст
Ответы RE: pgsql/src/backend/storage/lmgr (lmgr.c lock.c proc.c README)  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-committers
  Date: Thursday, December 21, 2000 @ 19:51:54
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/storage/lmgr
     from hub.org:/home/projects/pgsql/tmp/cvs-serv58115/src/backend/storage/lmgr

Modified Files:
    lmgr.c lock.c proc.c README

-----------------------------  Log Message  -----------------------------

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.


В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org
Дата:
Сообщение: pgsql/src/backend/storage/ipc (ipci.c)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql/src/backend/access/transam (xact.c)