]> granicus.if.org Git - postgresql/commit
Fix identify_locking_dependencies for schema-only dumps.
authorRobert Haas <rhaas@postgresql.org>
Fri, 26 Sep 2014 15:21:35 +0000 (11:21 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 26 Sep 2014 15:23:43 +0000 (11:23 -0400)
commitd72ecc91c38b0d117f8d2137ab920f6cbc6e913d
tree59afee29cbcb3ff947fef76a6b4f11fe01c4cc84
parenta8acf4d001549e7ff65def6ef1c1c61d77566e7a
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
src/bin/pg_dump/pg_backup_archiver.c