Обсуждение: 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_2_STABLE

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

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