Attached is a patch to improve the manual page for the ALTER TABLE command.
Thanks, Best regards, Etsuro Fujita
diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index 0b08f83..ce67c71 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -625,8 +625,9 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> <listitem> <para> The <literal>RENAME</literal> forms change the name of a table - (or an index, sequence, or view), the name of an individual column in - a table, or the name of a constraint of the table. There is no effect on the stored data. + (or an index, sequence, view, materialized view, or foreign table), the name + of an individual column in a table, or the name of a constraint of the table. + There is no effect on the stored data. </para> </listitem> </varlistentry> @@ -717,7 +718,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> </varlistentry> <varlistentry> - <term><replaceable class="PARAMETER">type</replaceable></term> + <term><replaceable class="PARAMETER">data_type</replaceable></term> <listitem> <para> Data type of the new column, or new data type for an existing @@ -739,7 +740,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> <term><replaceable class="PARAMETER">constraint_name</replaceable></term> <listitem> <para> - Name of an existing constraint to drop. + Name of an existing constraint to alter, validate, or drop. </para> </listitem> </varlistentry> @@ -836,6 +837,15 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> </varlistentry> <varlistentry> + <term><replaceable class="PARAMETER">type_name</replaceable></term> + <listitem> + <para> + Name of an existing composite type. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><replaceable class="PARAMETER">new_owner</replaceable></term> <listitem> <para>
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers