]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pg_dump: Preserve NO INHERIT on NOT NULL on inheritance children
authorÁlvaro Herrera <alvherre@kurilemu.de>
Thu, 26 Feb 2026 10:50:26 +0000 (11:50 +0100)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Thu, 26 Feb 2026 10:50:26 +0000 (11:50 +0100)
commitc3c8b63d76be16d7fbd9d309e8b640c43554c453
tree47df5617fb998ee1fce256e7b7e9f789a6f28130
parent95e0fac1ee76e39fd5aee8d6e0e71a8ed36b32dd
pg_dump: Preserve NO INHERIT on NOT NULL on inheritance children

When the constraint is printed without the column, we were not printing
the NO INHERIT flag.

Author: Jian He <jian.universality@gmail.com>
Backpatch-through: 18
Discussion: https://postgr.es/m/CACJufxEDEOO09G+OQFr=HmFr9ZDLZbRoV7+pj58h3_WeJ_K5UQ@mail.gmail.com
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/t/002_pg_dump.pl