Fix identify_locking_dependencies for schema-only dumps.

Robert Haas <rhaas@postgresql.org>

Commit: bbe3c069a24850430a65ab2821f1e762428c79fb
Author: Robert Haas <rhaas@postgresql.org>
Date: 2014-09-26T15:43:56Z
Releases: 9.0.19
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