public inbox for [email protected]  
help / color / mirror / Atom feed
From: Álvaro Herrera <[email protected]>
To: [email protected]
Subject: pgsql: pg_dump: Preserve NO INHERIT on NOT NULL on inheritance children
Date: Thu, 26 Feb 2026 10:50:56 +0000
Message-ID: <[email protected]> (raw)

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_K5UQ@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(+)



view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: pg_dump: Preserve NO INHERIT on NOT NULL on inheritance children
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox