postgres.git / summary / log / commit / refs
commit fa4eab862b064ded953dfd95218cf99efddf6a90
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Tue Apr 05 22:03:42 2016 +0000
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.
doc/src/sgml/ref/alter_index.sgml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/doc/src/sgml/ref/alter_index.sgml b/doc/src/sgml/ref/alter_index.sgml
index d2100770361..6ec23e95f44 100644
--- a/doc/src/sgml/ref/alter_index.sgml
+++ b/doc/src/sgml/ref/alter_index.sgml
@@ -37,16 +37,6 @@ ALTER INDEX [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> RESE
<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>
@@ -106,6 +96,16 @@ ALTER INDEX [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> RESE
<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>
[parent: 43b73d1a4046]