diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-04-25 16:58:05 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-04-25 16:58:05 -0400 |
commit | c3d09b3bd23f5f65b5eb8124a3c7592dad85a50c (patch) | |
tree | a8ae5204d40d6faea3c3a4a52ce724640a8fb5ef /src/interfaces/libpq/fe-protocol3.c | |
parent | 447b3174f58be808e81408b2166b41d898292ab3 (diff) | |
download | postgresql-c3d09b3bd23f5f65b5eb8124a3c7592dad85a50c.tar.gz postgresql-c3d09b3bd23f5f65b5eb8124a3c7592dad85a50c.zip |
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 'src/interfaces/libpq/fe-protocol3.c')
0 files changed, 0 insertions, 0 deletions