]> granicus.if.org Git - postgresql/commitdiff
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 54f3a56d3c03dc1bf1887066e4c78cbde95f39c3..ad77b5743ac197911dc817395a3fb1a763b698ab 100644 (file)
@@ -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>
@@ -130,6 +120,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>