The CREATE TABLE documentation groups NOT NULL under table_constraint.

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема The CREATE TABLE documentation groups NOT NULL under table_constraint.
Дата
Msg-id 177521204282.3221089.12751196147738658456@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: The CREATE TABLE documentation groups NOT NULL under table_constraint.
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/18/ddl.html
Description:

Unlike UNIQUE or CHECK, NOT NULL cannot be used standalone at the table
level in a standard way
Example: CREATE TABLE t (a int, NOT NULL a); fails.
It only works as an "out-of-line" constraint in very specific inheritance
scenarios.




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