aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-04-25 16:58:14 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-04-25 16:58:14 -0400
commit32ad1d696a0e7b50074d57b25708ffd1dc82600f (patch)
treef5a971f7eb70889f773bb909af91e660a586eba4 /src/tutorial/funcs.c
parentae76795214437f042151906d7f6f000382c2291c (diff)
downloadpostgresql-32ad1d696a0e7b50074d57b25708ffd1dc82600f.tar.gz
postgresql-32ad1d696a0e7b50074d57b25708ffd1dc82600f.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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions