aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2022-08-31 22:35:09 -0400
committerBruce Momjian <bruce@momjian.us>2022-08-31 22:35:09 -0400
commitdfc94d3cc8f737f71082b136aa158310cbbdcce9 (patch)
treebbec8dfd78d719ab19d177c1f9af7a5817c3c32d
parentd55fdfb554348ffd8e3afc61d62523a8f7d4a78e (diff)
downloadpostgresql-dfc94d3cc8f737f71082b136aa158310cbbdcce9.tar.gz
postgresql-dfc94d3cc8f737f71082b136aa158310cbbdcce9.zip
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
-rw-r--r--doc/src/sgml/indices.sgml3
-rw-r--r--doc/src/sgml/ref/create_index.sgml17
2 files changed, 5 insertions, 15 deletions
diff --git a/doc/src/sgml/indices.sgml b/doc/src/sgml/indices.sgml
index 2ef93680aca..078ffe81c68 100644
--- a/doc/src/sgml/indices.sgml
+++ b/doc/src/sgml/indices.sgml
@@ -117,7 +117,8 @@ CREATE INDEX test1_id_index ON test1 (id);
<para>
<productname>PostgreSQL</productname> provides several index types:
- B-tree, Hash, GiST, SP-GiST, GIN and BRIN.
+ B-tree, Hash, GiST, SP-GiST, GIN, BRIN, and the extension <link
+ linkend="bloom">bloom</link>.
Each index type uses a different
algorithm that is best suited to different types of queries.
By default, the <command>CREATE INDEX</command> command creates
diff --git a/doc/src/sgml/ref/create_index.sgml b/doc/src/sgml/ref/create_index.sgml
index dd468717b5c..2038bcb0aee 100644
--- a/doc/src/sgml/ref/create_index.sgml
+++ b/doc/src/sgml/ref/create_index.sgml
@@ -149,18 +149,6 @@ 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>
@@ -246,8 +234,9 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
<para>
The name of the index method to be used. Choices are
<literal>btree</literal>, <literal>hash</literal>,
- <literal>gist</literal>, <literal>spgist</literal>, <literal>gin</literal>, and
- <literal>brin</literal>.
+ <literal>gist</literal>, <literal>spgist</literal>, <literal>gin</literal>,
+ <literal>brin</literal>, or user-installed access methods like
+ <link linkend="bloom">bloom</link>.
The default method is <literal>btree</literal>.
</para>
</listitem>