Fix broken ALTER INDEX documentation
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 5 Apr 2016 22:03:42 +0000 (19:03 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 5 Apr 2016 22:03:42 +0000 (19:03 -0300)
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

index ee3e3de4d6fe1cc179aa37c3a3360c946877cba2..a615c7d6435672dee723e64972e5d2f224e7b167 100644 (file)
@@ -39,16 +39,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>
@@ -119,6 +109,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>