]> 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:36:25 +0000 (11:36 -0400)
commitd1844c21b0991bcc0824a411378b70e14ee531a4
tree2a97e3ea9bc325473e33882f9de6be157c2d2bec
parentdc58d949245ca49eebf4c324d116159a4dfc2d6b
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