summaryrefslogtreecommitdiff
path: root/doc/src/sgml
diff options
context:
space:
mode:
authorAlvaro Herrera2016-04-05 22:03:42 +0000
committerAlvaro Herrera2016-04-05 22:03:42 +0000
commit209880ba7da708ab8df74dc47b9fad0665807f64 (patch)
tree8d994647c4231c392c78071fbcf51fa7507aa064 /doc/src/sgml
parent5496c75de7140e0fedf2fba70bd2df08743d6a64 (diff)
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.
Diffstat (limited to 'doc/src/sgml')
-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 d2100770361..6ec23e95f44 100644
--- a/doc/src/sgml/ref/alter_index.sgml
+++ b/doc/src/sgml/ref/alter_index.sgml
@@ -38,16 +38,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>
<para>
@@ -107,6 +97,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>
<para>