pgsql: Fix identify_locking_dependencies for schema-only dumps.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix identify_locking_dependencies for schema-only dumps.
Date: 2014-09-26 15:49:47
Message-ID: E1XXXmF-0007ER-VG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix identify_locking_dependencies for schema-only dumps.

Without this fix, parallel restore of a schema-only dump can deadlock,
because when the dump is schema-only, the dependency will still be
pointing at the TABLE item rather than the TABLE DATA item.

Robert Haas and Tom Lane

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d72ecc91c38b0d117f8d2137ab920f6cbc6e913d

Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2014-09-26 16:46:41 pgsql: Fix relcache for policies, and doc updates
Previous Message Andres Freund 2014-09-26 15:12:40 pgsql: Further atomic ops portability improvements and bug fixes.