]> granicus.if.org Git - postgresql/commit
Release proclock immediately in RemoveFromWaitQueue() if it represents
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Mar 2005 21:14:59 +0000 (21:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Mar 2005 21:14:59 +0000 (21:14 +0000)
commita2ad04f4b00c3b7b6fe8f4e1dfd870a18c83c3a0
tree3ec922a8ec319fa28cb8ea6851defb6c85d87e47
parentccba1d0c9c5a614771820c74f51e7a602e637995
Release proclock immediately in RemoveFromWaitQueue() if it represents
no held locks.  This maintains the invariant that proclocks are present
only for procs that are holding or awaiting a lock; when this is not
true, LockRelease will fail.  Per report from Stephen Clouse.
src/backend/storage/lmgr/lock.c