pg_dump: include comments on not-null constraints on domains, too Commit e5da0fe3c22b introduced catalog entries for not-null constraints on domains; but because commit b0e96f311985 (the original work for catalogued not-null constraints on tables) forgot to teach pg_dump to process the comments for them, this one also forgot. Add that now.
We also need to teach repairDependencyLoop() about the new type of constraints being possible for domains. Backpatch-through: 17 Co-authored-by: jian he <jian.universal...@gmail.com> Co-authored-by: Álvaro Herrera <alvhe...@kurilemu.de> Reported-by: jian he <jian.universal...@gmail.com> Discussion: https://postgr.es/m/CACJufxF-0bqVR=j4jons6n2ka6hhupfyu3_3twknhow_4yf...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/da71717f0a7cf905a6a31ffd34552554922a0374 Modified Files -------------- src/bin/pg_dump/pg_dump.c | 160 +++++++++++++++++++++++++++++---------- src/bin/pg_dump/pg_dump.h | 4 +- src/bin/pg_dump/pg_dump_sort.c | 15 ++-- src/bin/pg_dump/t/002_pg_dump.pl | 30 +++++++- 4 files changed, 160 insertions(+), 49 deletions(-)