]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: mention "bloom" as a possible index access method
authorBruce Momjian <bruce@momjian.us>
Thu, 1 Sep 2022 02:35:09 +0000 (22:35 -0400)
committerBruce Momjian <bruce@momjian.us>
Thu, 1 Sep 2022 02:35:09 +0000 (22:35 -0400)
Also remove USING erroneously added recently.

Reported-by: Jeff Janes
Discussion: https://postgr.es/m/CAMkU=1zhCpC7hottyMWM5Pimr9vRLprSwzLg+7PgajWhKZqRzw@mail.gmail.com

Backpatch-through: 10

doc/src/sgml/indices.sgml
doc/src/sgml/ref/create_index.sgml

index 8a9beae7b433cc702916100757e1c1e3e51446c5..efa597df9c264b5b16af4711fde74bbbbfb00cb2 100644 (file)
@@ -116,7 +116,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
index 28ee854ecb3c4d7ab74144b3957faa22da5b1b13..e0ef49542b1df925a9ac3e708f58105407c01716 100644 (file)
@@ -143,18 +143,6 @@ 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><replaceable class="parameter">name</replaceable></term>
       <listitem>
@@ -183,8 +171,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>gin</>, and
-        <literal>brin</>.
+        <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>