Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1b30571

Browse files
committed
doc: document the CREATE INDEX "USING" clause
Somehow this was in the syntax but had no description. Reported-by: robertcorrington@gmail.com Discussion: https://postgr.es/m/164228771825.31954.2719791849363756957@wrigleys.postgresql.org Backpatch-through: 10
1 parent e1785d8 commit 1b30571

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
@@ -148,6 +148,18 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
148148
</listitem>
149149
</varlistentry>
150150

151+
<varlistentry>
152+
<term><literal>USING</literal></term>
153+
<listitem>
154+
<para>
155+
The optional <literal>USING</literal> clause specifies an index
156+
type as described in <xref linkend="indexes-types"/>. If not
157+
specified, a default index type will be used based on the
158+
data types of the columns.
159+
</para>
160+
</listitem>
161+
</varlistentry>
162+
151163
<varlistentry>
152164
<term><literal>INCLUDE</literal></term>
153165
<listitem>

0 commit comments

Comments
 (0)