Skip to content

Commit 2143f5e

Browse files
committed
Fix broken ALTER INDEX documentation
Commit b8a91d9 put the description of the new IF EXISTS clause in the wrong place -- move it where it belongs. Backpatch to 9.2.
1 parent f2fcad2 commit 2143f5e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

doc/src/sgml/ref/alter_index.sgml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,6 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
4040

4141
<variablelist>
4242

43-
<varlistentry>
44-
<term><literal>IF EXISTS</literal></term>
45-
<listitem>
46-
<para>
47-
Do not throw an error if the index does not exist. A notice is issued
48-
in this case.
49-
</para>
50-
</listitem>
51-
</varlistentry>
52-
5343
<varlistentry>
5444
<term><literal>RENAME</literal></term>
5545
<listitem>
@@ -130,6 +120,16 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
130120

131121
<variablelist>
132122

123+
<varlistentry>
124+
<term><literal>IF EXISTS</literal></term>
125+
<listitem>
126+
<para>
127+
Do not throw an error if the index does not exist. A notice is issued
128+
in this case.
129+
</para>
130+
</listitem>
131+
</varlistentry>
132+
133133
<varlistentry>
134134
<term><replaceable class="PARAMETER">name</replaceable></term>
135135
<listitem>

0 commit comments

Comments
 (0)