Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3a3c9bd

Browse files
committed
doc: document the CREATE INDEX "USING" clause
Somehow this was in the syntax but had no description. Reported-by: [email protected] Discussion: https://postgr.es/m/[email protected] Backpatch-through: 10
1 parent 39efe0b commit 3a3c9bd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/src/sgml/ref/create_index.sgml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,18 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
143143
</listitem>
144144
</varlistentry>
145145

146+
<varlistentry>
147+
<term><literal>USING</literal></term>
148+
<listitem>
149+
<para>
150+
The optional <literal>USING</literal> clause specifies an index
151+
type as described in <xref linkend="indexes-types">. If not
152+
specified, a default index type will be used based on the
153+
data types of the columns.
154+
</para>
155+
</listitem>
156+
</varlistentry>
157+
146158
<varlistentry>
147159
<term><replaceable class="parameter">name</replaceable></term>
148160
<listitem>

0 commit comments

Comments
 (0)