Repair error in syntax documentation for CREATE TABLE: one does not put
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Nov 2003 22:56:11 +0000 (22:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Nov 2003 22:56:11 +0000 (22:56 +0000)
a comma between multiple column_constraint's for a single column.
Per report from Tomislaw Kitynski.

doc/src/sgml/ref/create_table.sgml

index 7da424100be8428bc57b068337d56433aac9055b..3649062a73013d5c2abc02d8ff72d1eb51ecb66b 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.74 2003/11/12 04:08:07 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.75 2003/11/14 22:56:11 tgl Exp $
 PostgreSQL documentation
 -->
 
@@ -21,7 +21,7 @@ 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 ] }  [, ... ]
 )