Обсуждение: pgsql: Fix identify_locking_dependencies for schema-only dumps.

Поиск
Список
Период
Сортировка

pgsql: Fix identify_locking_dependencies for schema-only dumps.

От
Robert Haas
Дата:
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

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d1844c21b0991bcc0824a411378b70e14ee531a4

Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c |   16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)