1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Correct two mistakes in the ALTER FOREIGN TABLE reference page.

Etsuro Fujita
This commit is contained in:
Robert Haas
2015-05-21 11:16:33 -04:00
parent cad3708960
commit 160a9aaabf

View File

@ -169,7 +169,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>ADD <replaceable class="PARAMETER">table_constraint</replaceable></literal> [ NOT VALID ]</term> <term><literal>ADD <replaceable class="PARAMETER">table_constraint</replaceable> [ NOT VALID ]</literal></term>
<listitem> <listitem>
<para> <para>
This form adds a new constraint to a foreign table, using the same This form adds a new constraint to a foreign table, using the same
@ -541,7 +541,7 @@ ALTER FOREIGN TABLE distributors ALTER COLUMN street SET NOT NULL;
<para> <para>
To change options of a foreign table: To change options of a foreign table:
<programlisting> <programlisting>
ALTER FOREIGN TABLE myschema.distributors OPTIONS (ADD opt1 'value', SET opt2, 'value2', DROP opt3 'value3'); ALTER FOREIGN TABLE myschema.distributors OPTIONS (ADD opt1 'value', SET opt2 'value2', DROP opt3 'value3');
</programlisting></para> </programlisting></para>
</refsect1> </refsect1>