diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-01 21:14:59 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-01 21:14:59 +0000 |
commit | a2ad04f4b00c3b7b6fe8f4e1dfd870a18c83c3a0 (patch) | |
tree | 3ec922a8ec319fa28cb8ea6851defb6c85d87e47 /src/backend/commands/async.c | |
parent | ccba1d0c9c5a614771820c74f51e7a602e637995 (diff) | |
download | postgresql-a2ad04f4b00c3b7b6fe8f4e1dfd870a18c83c3a0.tar.gz postgresql-a2ad04f4b00c3b7b6fe8f4e1dfd870a18c83c3a0.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/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions