summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2022-08-12 15:26:03 +0000
committerBruce Momjian2022-08-12 15:26:03 +0000
commit74e28294cdbd422ba735d365d38746d8993411ff (patch)
tree40052d0a5b8072e746ae38219e000813c0102c78
parent7d66ccee99d57055a2ef42aa14b60ff6bdae5f1c (diff)
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
-rw-r--r--doc/src/sgml/ref/create_index.sgml12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/create_index.sgml b/doc/src/sgml/ref/create_index.sgml
index a5bac9f737..944fdb4b09 100644
--- a/doc/src/sgml/ref/create_index.sgml
+++ b/doc/src/sgml/ref/create_index.sgml
@@ -150,6 +150,18 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
</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>
<para>