From: Tom Lane <tgl@sss.pgh.pa.us>
To: postgresql@zabel.one
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Mistake in Syntax definition of ALTER TABLE
Date: Mon, 14 Nov 2022 16:11:56 -0500
Message-ID: <955706.1668460316@sss.pgh.pa.us> (raw)
In-Reply-To: <166842656645.632.14900882231844845906@wrigleys.postgresql.org>
References: <166842656645.632.14900882231844845906@wrigleys.postgresql.org>
PG Doc comments form <noreply@postgresql.org> writes:
> I think there's a mistake under "and table_constraint is:" where the
> different constraints are listed.
> Here: https://www.postgresql.org/docs/current/sql-altertable.html> The definition here allows for CHECK constraints to be deferrable when they
> are not.
It's not a mistake, we are simply not trying to make the syntax diagram
reflect that particular implementation restriction. I doubt that making
it do so would be an improvement: we'd have to have two kinds of
column_constraint in the diagram.
regards, tom lane
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-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, postgresql@zabel.one, pgsql-docs@lists.postgresql.org
Subject: Re: Mistake in Syntax definition of ALTER TABLE
In-Reply-To: <955706.1668460316@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox