aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-03-01 21:14:59 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-03-01 21:14:59 +0000
commita2ad04f4b00c3b7b6fe8f4e1dfd870a18c83c3a0 (patch)
tree3ec922a8ec319fa28cb8ea6851defb6c85d87e47 /src/backend/commands/async.c
parentccba1d0c9c5a614771820c74f51e7a602e637995 (diff)
downloadpostgresql-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