aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-05-21 11:16:33 -0400
committerRobert Haas <rhaas@postgresql.org>2015-05-21 11:16:33 -0400
commit160a9aaabf400106232e7e6fce0966ee5fdf84e2 (patch)
tree3571e8df1b4ac76858c68917a0088c0c41945e2e
parentcad3708960ef2da237b93f835d706197f16e5492 (diff)
downloadpostgresql-160a9aaabf400106232e7e6fce0966ee5fdf84e2.tar.gz
postgresql-160a9aaabf400106232e7e6fce0966ee5fdf84e2.zip
Correct two mistakes in the ALTER FOREIGN TABLE reference page.
Etsuro Fujita
-rw-r--r--doc/src/sgml/ref/alter_foreign_table.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/alter_foreign_table.sgml b/doc/src/sgml/ref/alter_foreign_table.sgml
index ace0040a9b7..4329d43a1ed 100644
--- a/doc/src/sgml/ref/alter_foreign_table.sgml
+++ b/doc/src/sgml/ref/alter_foreign_table.sgml
@@ -169,7 +169,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</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>
<para>
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>
To change options of a foreign table:
<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>
</refsect1>