aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-02-10 16:41:30 +0000
committerBruce Momjian <bruce@momjian.us>2001-02-10 16:41:30 +0000
commitd3fb67db260fd1c51b83516e2c4ab73ca4dfd26f (patch)
tree5f20c3f3c3c0b2a13c335a492f9b13606d227e87 /doc/src
parenta5dbde8b0a16239d9da51c34e7c506c329e2da66 (diff)
downloadpostgresql-d3fb67db260fd1c51b83516e2c4ab73ca4dfd26f.tar.gz
postgresql-d3fb67db260fd1c51b83516e2c4ab73ca4dfd26f.zip
Back out addition. Seems grammar doesn't handle CONSTRAINT as optional.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/alter_table.sgml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml
index 9efe953081d..90404ffd14f 100644
--- a/doc/src/sgml/ref/alter_table.sgml
+++ b/doc/src/sgml/ref/alter_table.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.20 2001/02/10 16:39:07 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.21 2001/02/10 16:41:30 momjian Exp $
Postgres documentation
-->
@@ -35,7 +35,7 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable> [ * ]
ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
RENAME TO <replaceable class="PARAMETER">newtable</replaceable>
ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
- ADD CONSTRAINT<replaceable class="PARAMETER">table constraint definition</replaceable>
+ ADD <replaceable class="PARAMETER">table constraint definition</replaceable>
ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
OWNER TO <replaceable class="PARAMETER">new owner</replaceable>
</synopsis>
@@ -167,7 +167,7 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
the affected table. Thus, the table or column will
remain of the same type and size after this command is
executed.
- The ADD CONSTRAINT<replaceable class="PARAMETER">table constraint definition</replaceable> clause
+ The ADD <replaceable class="PARAMETER">table constraint definition</replaceable> clause
adds a new constraint to the table using the same syntax as <xref
linkend="SQL-CREATETABLE" endterm="SQL-CREATETABLE-title">.
The OWNER clause chnages the owner of the table to the user <replaceable class="PARAMETER">