pgsql: Code review for pg_dump's handling of ALTER INDEX ATTACHPARTITI
В списке pgsql-committers по дате отправления:
| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера