git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 447b317) | patch
Avoid deadlock between concurrent CREATE INDEX CONCURRENTLY commands.
2013年4月25日 20:58:05 +0000 (16:58 -0400)
2013年4月25日 20:58:05 +0000 (16:58 -0400)
commit c3d09b3bd23f5f65b5eb8124a3c7592dad85a50c
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.
src/backend/commands/indexcmds.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /