pg.ddx.io pgsql-docs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Mistake in Syntax definition of ALTER TABLE 2+ messages / 2 participants [nested] [flat]
* Mistake in Syntax definition of ALTER TABLE @ 2022-11-14 11:49 PG Doc comments form <noreply@postgresql.org> 2022-11-14 21:11 ` Re: Mistake in Syntax definition of ALTER TABLE Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: PG Doc comments form @ 2022-11-14 11:49 UTC (permalink / raw) To: pgsql-docs@lists.postgresql.org; +Cc: postgresql@zabel.one The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/15/sql-altertable.html Description: 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. ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Mistake in Syntax definition of ALTER TABLE 2022-11-14 11:49 Mistake in Syntax definition of ALTER TABLE PG Doc comments form <noreply@postgresql.org> @ 2022-11-14 21:11 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2022-11-14 21:11 UTC (permalink / raw) To: postgresql@zabel.one; +Cc: pgsql-docs@lists.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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-11-14 21:11 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-11-14 11:49 Mistake in Syntax definition of ALTER TABLE PG Doc comments form <noreply@postgresql.org> 2022-11-14 21:11 ` Tom Lane <tgl@sss.pgh.pa.us>
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