Error in the 9.1 documentation?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Error in the 9.1 documentation?
Date: 2011-05-07 14:24:11
Message-ID: iq3km6$rpe$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2011-05-07 14:28:17 Re: Error in the 9.1 documentation?
Previous Message Christian Ferrari 2011-05-07 14:11:49 Re: PostgreSQL and XA Distributed Transaction Protocol