Re: Mistake in Syntax definition of ALTER TABLE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Mistake in Syntax definition of ALTER TABLE
Дата
Msg-id 955706.1668460316@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Mistake in Syntax definition of ALTER TABLE  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
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



В списке pgsql-docs по дате отправления:

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Consistency of units (bits vs bytes)
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Consistency of units (bits vs bytes)