]> granicus.if.org Git - postgresql/commitdiff
The psql online help for ALTER TABLE (\h alter table) is corrupt. I
authorBruce Momjian <bruce@momjian.us>
Sun, 9 Jan 2000 17:35:27 +0000 (17:35 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 9 Jan 2000 17:35:27 +0000 (17:35 +0000)
traced this back to what I believe is an error in the sgml file used to
generate this comment, found in pgsql/doc/src/sgml/ref/alter_table.sgml.

Stephen Birch

doc/src/sgml/ref/alter_table.sgml

index 715836f9acd411aca9e54f5d1865a05c19db1e03..bb49772e8eedf2dce054fe2b1aaa25c1ed1b96c3 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.8 1999/07/22 15:09:06 thomas Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.9 2000/01/09 17:35:27 momjian Exp $
 Postgres documentation
 -->
 
@@ -24,10 +24,10 @@ Postgres documentation
   </refsynopsisdivinfo>
   <synopsis>
 ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
-    [ * ] ADD [ COLUMN ] <replaceable class="PARAMETER">ER">co</replaceable>BLE> <replaceable
+    [ * ] ADD [ COLUMN ] <replaceable class="PARAMETER">column</replaceable> <replaceable
     class="PARAMETER">type</replaceable>
 ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
-    [ * ] RENAME [ COLUMN ] <replaceable class="PARAMETER">ER">co</replaceable>BLE> TO <replaceable
+    [ * ] RENAME [ COLUMN ] <replaceable class="PARAMETER">column</replaceable> TO <replaceable
     class="PARAMETER">newcolumn</replaceable>
 ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
     RENAME TO <replaceable class="PARAMETER">newtable</replaceable>