]> 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:25:57 +0000 (11:25 -0400)
commita97c8c393929a529d989de82a0be66b272c9c384
treeefb27fa9c932ca1e31e63273c7d92187ae19a249
parent66e620d0c0c40823cca1e3c1edc47fa3e289353c
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