postgresql/src/backend
Tom Lane 8e85397638 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.
2013-04-25 16:58:23 -04:00
..
access Further cleanup of gistsplit.c. 2013-02-10 16:21:46 -05:00
bootstrap Avoid changing an index's indcheckxmin horizon during REINDEX. 2011-04-19 18:51:08 -04:00
catalog DROP OWNED: don't try to drop tablespaces/databases 2013-01-28 19:02:26 -03:00
commands Avoid deadlock between concurrent CREATE INDEX CONCURRENTLY commands. 2013-04-25 16:58:23 -04:00
executor Add defenses against integer overflow in dynahash numbuckets calculations. 2012-12-11 22:09:34 -05:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:37:03 -04:00
lib Update copyright for 2009. 2009-01-01 17:24:05 +00:00
libpq Produce a more useful error message for over-length Unix socket paths. 2012-11-29 19:57:33 -05:00
main Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodes Fix planning of non-strict equivalence clauses above outer joins. 2012-10-18 12:29:13 -04:00
optimizer Fix assorted bugs in CREATE INDEX CONCURRENTLY. 2012-11-29 14:52:22 -05:00
parser Fix grammar for subscripting or field selection from a sub-SELECT result. 2013-01-30 14:16:51 -05:00
po Translation updates 2013-03-31 23:37:13 -04:00
port Fix Windows implementation of PGSemaphoreLock. 2012-05-10 13:36:28 -04:00
postmaster Reset OpenSSL randomness state in each postmaster child process. 2013-03-27 18:50:38 -04:00
regex Fix crash on compiling a regular expression with more than 32k colors. 2013-04-04 19:32:20 +03:00
rewrite Prevent CREATE TABLE LIKE/INHERITS from (mis) copying whole-row Vars. 2012-06-30 16:44:14 -04:00
snowball Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
storage Add missing period to detail message. 2012-08-30 13:27:35 -04:00
tcop set_stack_base() no longer needs to be called in PostgresMain. 2012-04-08 19:41:59 +03:00
tsearch Fix bug in to_tsquery(). 2012-05-16 14:39:52 +03:00
utils Fix longstanding race condition in plancache.c. 2013-04-20 16:59:41 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
common.mk Code coverage testing with gcov. Documentation is in the regression test 2008-09-05 12:11:18 +00:00
Makefile Fix PGXS support for building loadable modules on AIX. 2012-10-09 21:04:26 -04:00
nls.mk Translation updates 2013-02-03 23:53:08 -05:00