agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Clarify inherited constraint behavior
Date: Sat, 27 Jun 2026 22:10:21 +0000
Message-ID: <E1wdbED-000SMh-0y@gemulon.postgresql.org> (raw)
doc: Clarify inherited constraint behavior
Update the table inheritance documentation to mention not-null constraints
alongside check constraints where inherited constraints are discussed.
Also clarify that some properties of inherited constraints can now be altered
directly on child tables, while the resulting constraint must remain compatible
with its inherited parent constraints. For multiple inheritance, say explicitly
that when a column or constraint is inherited from more than one parent, the
stricter definition applies.
Author: Chao Li <lic@highgo.com>
Reviewed-by: Zsolt Parragi <zsolt.parragi@percona.com>
Discussion: https://postgr.es/m/E74C57FA-1DD0-4C8E-8FB1-538034752592@gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d16be8605f5f699020fe4e6eaef008a41407a9bb
Modified Files
--------------
doc/src/sgml/ddl.sgml | 33 +++++++++++++++++++--------------
1 file changed, 19 insertions(+), 14 deletions(-)
Message-ID: <E1wdbED-000SMh-0y@gemulon.postgresql.org>
Permalink: ../E1wdbED-000SMh-0y@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wdbED-000SMh-0y@gemulon.postgresql.org
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: pgsql-committers@postgresql.org
Cc: andrew@dunslane.net, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: doc: Clarify inherited constraint behavior
In-Reply-To: <E1wdbED-000SMh-0y@gemulon.postgresql.org>
* 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