projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d66cce
)
doc: document the CREATE INDEX "USING" clause
author
Bruce Momjian
<
[email protected]
>
Fri, 12 Aug 2022 15:26:03 +0000
(11:26 -0400)
committer
Bruce Momjian
<
[email protected]
>
Fri, 12 Aug 2022 15:26:03 +0000
(11:26 -0400)
Somehow this was in the syntax but had no description.
Reported-by:
[email protected]
Discussion: https://postgr.es/m/
164228771825
.31954.
2719791849363756957
@wrigleys.postgresql.org
Backpatch-through: 10
doc/src/sgml/ref/create_index.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/create_index.sgml
b/doc/src/sgml/ref/create_index.sgml
index a5bac9f737368829e8b8b0dba986f61d59f88eac..944fdb4b094a984db897f3c0d7a8e56a826ecf2d 100644
(file)
--- a/
doc/src/sgml/ref/create_index.sgml
+++ b/
doc/src/sgml/ref/create_index.sgml
@@
-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>