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

Skip to content

Commit 9072f0f

Browse files
committed
doc: mention "bloom" as a possible index access method
Also remove USING erroneously added recently. Reported-by: Jeff Janes Discussion: https://postgr.es/m/CAMkU=1zhCpC7hottyMWM5Pimr9vRLprSwzLg+7PgajWhKZqRzw@mail.gmail.com Backpatch-through: 10
1 parent de73544 commit 9072f0f

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

doc/src/sgml/indices.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ CREATE INDEX test1_id_index ON test1 (id);
116116

117117
<para>
118118
<productname>PostgreSQL</productname> provides several index types:
119-
B-tree, Hash, GiST, SP-GiST, GIN and BRIN.
119+
B-tree, Hash, GiST, SP-GiST, GIN, BRIN, and the extension <link
120+
linkend="bloom">bloom</link>.
120121
Each index type uses a different
121122
algorithm that is best suited to different types of queries.
122123
By default, the <command>CREATE INDEX</command> command creates

doc/src/sgml/ref/create_index.sgml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -143,18 +143,6 @@ 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-
158146
<varlistentry>
159147
<term><replaceable class="parameter">name</replaceable></term>
160148
<listitem>
@@ -183,8 +171,9 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
183171
<para>
184172
The name of the index method to be used. Choices are
185173
<literal>btree</literal>, <literal>hash</literal>,
186-
<literal>gist</literal>, <literal>spgist</>, <literal>gin</>, and
187-
<literal>brin</>.
174+
<literal>gist</literal>, <literal>spgist</literal>, <literal>gin</literal>,
175+
<literal>brin</literal>, or user-installed access methods like
176+
<link linkend="bloom">bloom</link>.
188177
The default method is <literal>btree</literal>.
189178
</para>
190179
</listitem>

0 commit comments

Comments
 (0)