Error in the 9.1 documentation?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Error in the 9.1 documentation?
Дата
Msg-id iq3km6$rpe$1@dough.gmane.org
обсуждение исходный текст
Ответы Re: Error in the 9.1 documentation?
Список pgsql-general
Hi,

while going through the 9.1 new features, I think I have discovered an error in the manual regarding the CREATE TABLE
command.

It says:

CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXISTS ] table_name ( [
   { column_name data_type [ COLLATE collation ] [ column_constraint [ ... ] ]
     | table_constraint
     | LIKE parent_table [ like_option ... ] }
     [, ... ]


Isn't there the element for DEFAULT missing for the column definition?

Something like:

column_name data_type [ DEFAULT default_expr ] [ COLLATE collation ] [ column_constraint [ ... ] ]

Regards
Thomas


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

Предыдущее
От: Christian Ferrari
Дата:
Сообщение: Re: PostgreSQL and XA Distributed Transaction Protocol
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Error in the 9.1 documentation?