]> 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)
commitd0833fdae7ebb520e14db20ebd8973c5999f636e
tree096a96283eee9ce8018ef4e1d8617dc89e66ed6d
parent0163951b785e9b839706ce8e557066ad083beef1
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