]> 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:21:35 +0000 (11:21 -0400)
commit07d46a8963ebbf69ef6e6853bb8a45623612dd34
treee19c1144634bc03532aa4da75be2f2e87a6927ce
parentf9f07411a5b879b232ade66fece7071bd2eb5c26
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