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
This commit is contained in:
Bruce Momjian 2022-08-12 11:26:03 -04:00
parent 7d66ccee99
commit 74e28294cd
1 changed files with 12 additions and 0 deletions

View File

@ -149,6 +149,18 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
</listitem>
</varlistentry>
<varlistentry>
<term><literal>USING</literal></term>
<listitem>
<para>
The optional <literal>USING</literal> clause specifies an index
type as described in <xref linkend="indexes-types"/>. If not
specified, a default index type will be used based on the
data types of the columns.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>INCLUDE</literal></term>
<listitem>