summaryrefslogtreecommitdiff
path: root/contrib/pgcrypto/pgp-info.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-04-25 16:58:19 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-04-25 16:58:19 -0400
commit0dcff7560a2f6c70313447b948c35f94193bc656 (patch)
tree78c8c0a0475496b81457b173cb4ad573e5b6a95f /contrib/pgcrypto/pgp-info.c
parentfe1d8c1fe705a8a881bc98feeca1b52a26e9475b (diff)
Avoid deadlock between concurrent CREATE INDEX CONCURRENTLY commands.
There was a high probability of two or more concurrent C.I.C. commands deadlocking just before completion, because each would wait for the others to release their reference snapshots. Fix by releasing the snapshot before waiting for other snapshots to go away. Per report from Paul Hinze. Back-patch to all active branches.
Diffstat (limited to 'contrib/pgcrypto/pgp-info.c')
0 files changed, 0 insertions, 0 deletions