Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1846bac

Browse files
committed
contrib/bloom documentation improvement
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
1 parent 18781cd commit 1846bac

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

doc/src/sgml/bloom.sgml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@
5151
<term><literal>length</literal></term>
5252
<listitem>
5353
<para>
54-
Length of each signature (index entry) in bits. The default
55-
is <literal>80</literal> bits and maximum is <literal>4096</literal>.
54+
Length of each signature (index entry) in bits, it is rounded up to the
55+
nearest multiple of <literal>16</literal>. The default is
56+
<literal>80</literal> bits and maximum is <literal>4096</literal>.
5657
</para>
5758
</listitem>
5859
</varlistentry>
@@ -242,6 +243,20 @@ DEFAULT FOR TYPE text USING bloom AS
242243
operations in the future.
243244
</para>
244245
</listitem>
246+
247+
<listitem>
248+
<para>
249+
<literal>bloom</literal> access method doesn't support
250+
<literal>UNIQUE</literal> indexes.
251+
</para>
252+
</listitem>
253+
254+
<listitem>
255+
<para>
256+
<literal>bloom</literal> access method doesn't support searching for
257+
<literal>NULL</literal> values.
258+
</para>
259+
</listitem>
245260
</itemizedlist>
246261
</para>
247262
</sect2>

0 commit comments

Comments
 (0)