From 1846bac46da142e0a9fdef3f9004c306370d7213 Mon Sep 17 00:00:00 2001 From: Alexander Korotkov Date: Mon, 15 Oct 2018 00:40:17 +0300 Subject: [PATCH] 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 --- doc/src/sgml/bloom.sgml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/bloom.sgml b/doc/src/sgml/bloom.sgml index f857b09bd6..8e535698df 100644 --- a/doc/src/sgml/bloom.sgml +++ b/doc/src/sgml/bloom.sgml @@ -51,8 +51,9 @@ length - Length of each signature (index entry) in bits. The default - is 80 bits and maximum is 4096. + Length of each signature (index entry) in bits, it is rounded up to the + nearest multiple of 16. The default is + 80 bits and maximum is 4096. @@ -242,6 +243,20 @@ DEFAULT FOR TYPE text USING bloom AS operations in the future. + + + + bloom access method doesn't support + UNIQUE indexes. + + + + + + bloom access method doesn't support searching for + NULL values. + +