Fix identify_locking_dependencies for schema-only dumps.

Robert Haas <rhaas@postgresql.org>

Commit: d1844c21b0991bcc0824a411378b70e14ee531a4
Author: Robert Haas <rhaas@postgresql.org>
Date: 2014-09-26T15:36:25Z
Releases: 9.1.15
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

Files

PathChange+/−
src/bin/pg_dump/pg_backup_archiver.c modified +10 −6