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 <[email protected]>
Backpatch-through: 18
Discussion: 
https://postgr.es/m/CACJufxEDEOO09G+OQFr=hmfr9zdlzbrov7+pj58h3_wej_k...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d0833fdae7ebb520e14db20ebd8973c5999f636e

Modified Files
--------------
src/bin/pg_dump/pg_dump.c        |  3 +++
src/bin/pg_dump/t/002_pg_dump.pl | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)

Reply via email to