aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-03-01 21:15:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-03-01 21:15:10 +0000
commit3f16b38a2377a7e47f582dbdd8b6a902949c1560 (patch)
tree26bee1c37f1ebf95038cd53cd6916afef7a8c1ea /src/tutorial/complex.c
parentbfc294232192d32de22815ffced86fa17bc4d22f (diff)
downloadpostgresql-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