Commit a5dbde8b authored by Bruce Momjian's avatar Bruce Momjian

Add mention of CONSTRAINT in ADD CONSTRAINT section.

parent db98204a
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.19 2001/01/13 23:58:55 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.20 2001/02/10 16:39:07 momjian Exp $
Postgres documentation Postgres documentation
--> -->
...@@ -35,7 +35,7 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable> [ * ] ...@@ -35,7 +35,7 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable> [ * ]
ALTER TABLE <replaceable class="PARAMETER">table</replaceable> ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
RENAME TO <replaceable class="PARAMETER">newtable</replaceable> RENAME TO <replaceable class="PARAMETER">newtable</replaceable>
ALTER TABLE <replaceable class="PARAMETER">table</replaceable> ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
ADD <replaceable class="PARAMETER">table constraint definition</replaceable> ADD CONSTRAINT<replaceable class="PARAMETER">table constraint definition</replaceable>
ALTER TABLE <replaceable class="PARAMETER">table</replaceable> ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
OWNER TO <replaceable class="PARAMETER">new owner</replaceable> OWNER TO <replaceable class="PARAMETER">new owner</replaceable>
</synopsis> </synopsis>
...@@ -167,7 +167,7 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable> ...@@ -167,7 +167,7 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
the affected table. Thus, the table or column will the affected table. Thus, the table or column will
remain of the same type and size after this command is remain of the same type and size after this command is
executed. executed.
The ADD <replaceable class="PARAMETER">table constraint definition</replaceable> clause The ADD CONSTRAINT<replaceable class="PARAMETER">table constraint definition</replaceable> clause
adds a new constraint to the table using the same syntax as <xref adds a new constraint to the table using the same syntax as <xref
linkend="SQL-CREATETABLE" endterm="SQL-CREATETABLE-title">. linkend="SQL-CREATETABLE" endterm="SQL-CREATETABLE-title">.
The OWNER clause chnages the owner of the table to the user <replaceable class="PARAMETER"> The OWNER clause chnages the owner of the table to the user <replaceable class="PARAMETER">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment