]> 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:31 +0000 (11:23 -0400)
commit4e23c47a3bb7a198c87940b6e9ac96edfa53962b
tree0c5e7df036594a41e032cf73b45658f4d9588c59
parentd99d0e60eaa8334b698a070cb919202607660a65
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