8000 Fix broken ALTER INDEX documentation · prmdeveloper/postgres@af3d9fd · GitHub
[go: up one dir, main page]

Skip to content

Commit af3d9fd

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 28148e2 commit af3d9fd

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
@@ -39,16 +39,6 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
3939

4040
<variablelist>
4141

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

120110
<variablelist>
121111

112+
<varlistentry>
113+
<term><literal>IF EXISTS</literal></term>
114+
<listitem>
115+
<para>
116+
Do not throw an error if the index does not exist. A notice is issued
117+
in this case.
118+
</para>
119+
</listitem>
120+
</varlistentry>
121+
122122
<varlistentry>
123123
<term><replaceable class="PARAMETER">name</replaceable></term>
124124
<listitem>

0 commit comments

Comments
 (0)
0