pgsql: Fix identify_locking_dependencies for schema-only dumps. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix identify_locking_dependencies for schema-only dumps.
Date
Msg-id E1XXXmF-0007EV-VR@gemulon.postgresql.org
Whole thread Raw
List 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_1_STABLE

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

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


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Further atomic ops portability improvements and bug fixes.
Next
From: Robert Haas
Date:
Subject: pgsql: Fix identify_locking_dependencies for schema-only dumps.