Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a5dbde8

Browse files
committed
Add mention of CONSTRAINT in ADD CONSTRAINT section.
1 parent db98204 commit a5dbde8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/ref/alter_table.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.19 2001/01/13 23:58:55 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.20 2001/02/10 16:39:07 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -35,7 +35,7 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable> [ * ]
3535
ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
3636
RENAME TO <replaceable class="PARAMETER">newtable</replaceable>
3737
ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
38-
ADD <replaceable class="PARAMETER">table constraint definition</replaceable>
38+
ADD CONSTRAINT<replaceable class="PARAMETER">table constraint definition</replaceable>
3939
ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
4040
OWNER TO <replaceable class="PARAMETER">new owner</replaceable>
4141
</synopsis>
@@ -167,7 +167,7 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
167167
the affected table. Thus, the table or column will
168168
remain of the same type and size after this command is
169169
executed.
170-
The ADD <replaceable class="PARAMETER">table constraint definition</replaceable> clause
170+
The ADD CONSTRAINT<replaceable class="PARAMETER">table constraint definition</replaceable> clause
171171
adds a new constraint to the table using the same syntax as <xref
172172
linkend="SQL-CREATETABLE" endterm="SQL-CREATETABLE-title">.
173173
The OWNER clause chnages the owner of the table to the user <replaceable class="PARAMETER">

0 commit comments

Comments
 (0)