pgsql: Fix dumping of comments on invalid constraints on domains
В списке pgsql-committers по дате отправления:
| От | Álvaro Herrera |
|---|---|
| Тема | pgsql: Fix dumping of comments on invalid constraints on domains |
| Дата | |
| Msg-id | E1uc5rL-006cTd-0x@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
Fix dumping of comments on invalid constraints on domains
We skip dumping constraints together with domains if they are invalid
('separate') so that they appear after data -- but their comments were
dumped together with the domain definition, which in effect leads to the
comment being dumped when the constraint does not yet exist. Delay
them in the same way.
Oversight in 7eca575d1c28; backpatch all the way back.
Author: jian he <jian.universality@gmail.com>
Discussion: https://postgr.es/m/CACJufxF_C2pe6J_+nPr6C5jf5rQnbYP8XOKr4HM8yHZtp2aQqQ@mail.gmail.com
Branch
------
REL_16_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/cef998ef8314ea88db15b66f21ac000c9d0c248c
Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 23 ++++++++++++++++++++++-
src/test/regress/expected/constraints.out | 4 ++++
src/test/regress/sql/constraints.sql | 6 ++++++
3 files changed, 32 insertions(+), 1 deletion(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера