summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2018-10-15 00:40:17 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2018-10-15 01:08:03 +0300
commit1846bac46da142e0a9fdef3f9004c306370d7213 (patch)
treeafe2f387624008924013e77911be54267a7bf546
parent18781cd2af97002234f2db08f68cc4b392b2e463 (diff)
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
-rw-r--r--doc/src/sgml/bloom.sgml19
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/src/sgml/bloom.sgml b/doc/src/sgml/bloom.sgml
index f857b09bd6b..8e535698df7 100644
--- a/doc/src/sgml/bloom.sgml
+++ b/doc/src/sgml/bloom.sgml
@@ -51,8 +51,9 @@
<term><literal>length</literal></term>
<listitem>
<para>
- Length of each signature (index entry) in bits. The default
- is <literal>80</literal> bits and maximum is <literal>4096</literal>.
+ Length of each signature (index entry) in bits, it is rounded up to the
+ nearest multiple of <literal>16</literal>. The default is
+ <literal>80</literal> bits and maximum is <literal>4096</literal>.
</para>
</listitem>
</varlistentry>
@@ -242,6 +243,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>