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
commitaf3d9fdb88cf7346117885bf731a1aa259d83161 (patch)
treeb19610ff7176d8279e8e6f137562acc49f0ec786
parent28148e25823a42877b2f2ee0961afcb8b5243a72 (diff)
downloadpostgresql-af3d9fdb88cf7346117885bf731a1aa259d83161.tar.gz
postgresql-af3d9fdb88cf7346117885bf731a1aa259d83161.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 ee3e3de4d6f..a615c7d6435 100644
--- a/doc/src/sgml/ref/alter_index.sgml
+++ b/doc/src/sgml/ref/alter_index.sgml
@@ -40,16 +40,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>
@@ -120,6 +110,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>