diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-01 21:15:10 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-01 21:15:10 +0000 |
commit | 3f16b38a2377a7e47f582dbdd8b6a902949c1560 (patch) | |
tree | 26bee1c37f1ebf95038cd53cd6916afef7a8c1ea /src/tutorial/complex.c | |
parent | bfc294232192d32de22815ffced86fa17bc4d22f (diff) | |
download | postgresql-3f16b38a2377a7e47f582dbdd8b6a902949c1560.tar.gz postgresql-3f16b38a2377a7e47f582dbdd8b6a902949c1560.zip |
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.
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions