Re: Mistake in Syntax definition of ALTER TABLE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: postgresql(at)zabel(dot)one
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Mistake in Syntax definition of ALTER TABLE
Date: 2022-11-14 21:11:56
Message-ID: 955706.1668460316@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2022-11-15 10:15:51 Re: Consistency of units (bits vs bytes)
Previous Message PG Doc comments form 2022-11-14 19:12:50 Consistency of units (bits vs bytes)