]> granicus.if.org Git - postgresql/commitdiff
contrib/bloom documentation improvement
authorAlexander Korotkov <akorotkov@postgresql.org>
Sun, 14 Oct 2018 21:40:17 +0000 (00:40 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Sun, 14 Oct 2018 22:07:08 +0000 (01:07 +0300)
This commit documents rounding of "length" parameter and absence of support
for unique indexes and NULLs searching.  Backpatch to 9.6 where contrib/bloom
was introduced.

Discussion: https://postgr.es/m/CAF4Au4wPQQ7EHVSnzcLjsbY3oLSzVk6UemZLD1Sbmwysy3R61g%40mail.gmail.com
Author: Oleg Bartunov with minor editorialization by me
Backpatch-through: 9.6

doc/src/sgml/bloom.sgml

index 396348c5237e3cf5b17cc1dc54fff825a570c7e6..2eb7a4fd40d26e0ddde625f22f25d89ca7d1c5c9 100644 (file)
@@ -51,8 +51,8 @@
     <term><literal>length</></term>
     <listitem>
      <para>
-      Length of each signature (index entry) in bits. The default
-      is <literal>80</> bits and maximum is <literal>4096</>.
+      Length of each signature (index entry) in bits, it is rounded up to the nearest
+      multiple of <literal>16</>. The default is <literal>80</> bits and maximum is <literal>4096</literal>.
      </para>
     </listitem>
    </varlistentry>
@@ -242,6 +242,20 @@ DEFAULT FOR TYPE text USING bloom AS
       operations in the future.
      </para>
     </listitem>
+
+    <listitem>
+     <para>
+       <literal>bloom</literal> access method doesn't support
+       <literal>UNIQUE</literal> indexes.
+     </para>
+    </listitem>
+
+    <listitem>
+     <para>
+       <literal>bloom</literal> access method doesn't support searching for
+       <literal>NULL</literal> values.
+     </para>
+    </listitem>
    </itemizedlist>
   </para>
  </sect2>