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

Skip to content

Commit fa4eab8

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 43b73d1 commit fa4eab8

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
@@ -37,16 +37,6 @@ ALTER INDEX [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> RESE
3737

3838
<variablelist>
3939

40-
<varlistentry>
41-
<term><literal>IF EXISTS</literal></term>
42-
<listitem>
43-
<para>
44-
Do not throw an error if the index does not exist. A notice is issued
45-
in this case.
46-
</para>
47-
</listitem>
48-
</varlistentry>
49-
5040
<varlistentry>
5141
<term><literal>RENAME</literal></term>
5242
<listitem>
@@ -106,6 +96,16 @@ ALTER INDEX [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> RESE
10696

10797
<variablelist>
10898

99+
<varlistentry>
100+
<term><literal>IF EXISTS</literal></term>
101+
<listitem>
102+
<para>
103+
Do not throw an error if the index does not exist. A notice is issued
104+
in this case.
105+
</para>
106+
</listitem>
107+
</varlistentry>
108+
109109
<varlistentry>
110110
<term><replaceable class="PARAMETER">name</replaceable></term>
111111
<listitem>

0 commit comments

Comments
 (0)
0