Add mention of CONSTRAINT in ADD CONSTRAINT section.
authorBruce Momjian
Sat, 10 Feb 2001 16:39:07 +0000 (16:39 +0000)
committerBruce Momjian
Sat, 10 Feb 2001 16:39:07 +0000 (16:39 +0000)
doc/src/sgml/ref/alter_table.sgml

index 280c7039a13de1fb132775faa68a8bdda798db46..9efe953081d8ca2e013cbd9c75cfddde7c95c1c2 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -35,7 +35,7 @@ ALTER TABLE table [ * ]
 ALTER TABLE table
     RENAME TO newtable
 ALTER TABLE table
-    ADD table constraint definition
+    ADD CONSTRAINTtable constraint definition
 ALTER TABLE table
    OWNER TO new owner 
   
@@ -167,7 +167,7 @@ ALTER TABLE table
    the affected table. Thus, the table or column will
    remain of the same type and size after this command is
    executed.
-   The ADD table constraint definition clause 
+   The ADD CONSTRAINTtable constraint definition clause 
    adds a new constraint to the table using the same syntax as 
    linkend="SQL-CREATETABLE" endterm="SQL-CREATETABLE-title">. 
    The OWNER clause chnages the owner of the table to the user