aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-04-05 19:03:42 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-04-05 19:03:42 -0300
commit2143f5e127903cb50c10537fc22392083cb033b7 (patch)
tree3a1286e40563f1fba34a0680e0966decac5724f3
parentf2fcad27d59c8e5c48f8fa0a96c8355e40f24273 (diff)
downloadpostgresql-2143f5e127903cb50c10537fc22392083cb033b7.tar.gz
postgresql-2143f5e127903cb50c10537fc22392083cb033b7.zip
Fix broken ALTER INDEX documentation
Commit b8a91d9d1c put the description of the new IF EXISTS clause in the wrong place -- move it where it belongs. Backpatch to 9.2.
-rw-r--r--doc/src/sgml/ref/alter_index.sgml20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/src/sgml/ref/alter_index.sgml b/doc/src/sgml/ref/alter_index.sgml
index 54f3a56d3c0..ad77b5743ac 100644
--- a/doc/src/sgml/ref/alter_index.sgml
+++ b/doc/src/sgml/ref/alter_index.sgml
@@ -41,16 +41,6 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
<variablelist>
<varlistentry>
- <term><literal>IF EXISTS</literal></term>
- <listitem>
- <para>
- Do not throw an error if the index does not exist. A notice is issued
- in this case.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><literal>RENAME</literal></term>
<listitem>
<para>
@@ -131,6 +121,16 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
<variablelist>
<varlistentry>
+ <term><literal>IF EXISTS</literal></term>
+ <listitem>
+ <para>
+ Do not throw an error if the index does not exist. A notice is issued
+ in this case.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term>
<listitem>
<para>