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

Details
-------
http://git.postgresql.org/pg/commitdiff/07d46a8963ebbf69ef6e6853bb8a45623612dd34

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