pgsql: Code review for pg_dump's handling of ALTER INDEX ATTACHPARTITI

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Code review for pg_dump's handling of ALTER INDEX ATTACHPARTITI
Дата
Msg-id E1funhc-0005Nf-RJ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Code review for pg_dump's handling of ALTER INDEX ATTACH PARTITION.

Ensure the TOC entry is marked with the correct schema, so that its
name is as unique as the index's is.

Fix the dependencies: we want dependencies from this TOC entry to the
two indexes it depends on, and we don't care (at least not for this
purpose) what order the indexes are created in.  Also, add dependencies
on the indexes' underlying tables.  Those might seem pointless given
the index dependencies, but they are helpful to cue parallel restore
to avoid running the ATTACH PARTITION in parallel with other DDL on
the same tables.

Discussion: https://postgr.es/m/10817.1535494963@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8cff4f5348d075e063100071013f00a900c32b0f

Modified Files
--------------
src/bin/pg_dump/common.c  | 24 +++++++++++++++++++-----
src/bin/pg_dump/pg_dump.c |  5 +++--
2 files changed, 22 insertions(+), 7 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Rework option set of vacuumlo
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Stop bgworkers during fast shutdown with postmaster in startupp