diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-08-13 02:48:18 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-08-13 02:48:18 +0000 |
commit | 03be45fbe6885a353ed48d8884a324d82674173e (patch) | |
tree | 72201f7f2bac0dd988110d47897f6f60709c1d9e | |
parent | 87688ddf87a384f7107240bdd8b1754010d774b5 (diff) | |
download | postgresql-03be45fbe6885a353ed48d8884a324d82674173e.tar.gz postgresql-03be45fbe6885a353ed48d8884a324d82674173e.zip |
CREATE TABLE has optional column names, so change {} to [].
Alvaro.
-rw-r--r-- | doc/src/sgml/ref/create_table.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index 71972b470ba..7be5d28878c 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.93 2005/07/14 06:17:36 neilc Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.94 2005/08/13 02:48:18 momjian Exp $ PostgreSQL documentation --> @@ -21,9 +21,9 @@ PostgreSQL documentation <refsynopsisdiv> <synopsis> CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PARAMETER">table_name</replaceable> ( - { <replaceable class="PARAMETER">column_name</replaceable> <replaceable class="PARAMETER">data_type</replaceable> [ DEFAULT <replaceable>default_expr</> ] [ <replaceable class="PARAMETER">column_constraint</replaceable> [ ... ] ] + [ <replaceable class="PARAMETER">column_name</replaceable> <replaceable class="PARAMETER">data_type</replaceable> [ DEFAULT <replaceable>default_expr</> ] [ <replaceable class="PARAMETER">column_constraint</replaceable> [ ... ] ] | <replaceable>table_constraint</replaceable> - | LIKE <replaceable>parent_table</replaceable> [ { INCLUDING | EXCLUDING } DEFAULTS ] } [, ... ] + | LIKE <replaceable>parent_table</replaceable> [ { INCLUDING | EXCLUDING } DEFAULTS ] ] [, ... ] ) [ INHERITS ( <replaceable>parent_table</replaceable> [, ... ] ) ] [ WITH OIDS | WITHOUT OIDS ] |