Skip to content

Commit 98afb83

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 b403ea4 commit 98afb83

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

doc/src/sgml/bloom.sgml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
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 nearest
55+
multiple of 16. The default is <literal>80</literal> bits and maximum is <literal>4096</literal>.
5656
</para>
5757
</listitem>
5858
</varlistentry>
@@ -242,6 +242,20 @@ DEFAULT FOR TYPE text USING bloom AS
242242
operations in the future.
243243
</para>
244244
</listitem>
245+
246+
<listitem>
247+
<para>
248+
<literal>bloom</literal> access method doesn't support
249+
<literal>UNIQUE</literal> indexes.
250+
</para>
251+
</listitem>
252+
253+
<listitem>
254+
<para>
255+
<literal>bloom</literal> access method doesn't support searching for
256+
<literal>NULL</literal> values.
257+
</para>
258+
</listitem>
245259
</itemizedlist>
246260
</para>
247261
</sect2>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy