postgresql/contrib/bloom
Tom Lane ee4af347ba Measure Bloom index signature-length reloption in bits, not words.
Per discussion, this is a more understandable and future-proof way of
exposing the setting to users.  On-disk, we can still store it in words,
so as to not break on-disk compatibility with beta1.

Along the way, clean up the code associated with Bloom reloptions.
Provide explicit macros for default and maximum lengths rather than
having magic numbers buried in multiple places in the code.  Drop
the adjustBloomOptions() code altogether: it was useless in view of
the fact that reloptions.c already performed default-substitution and
range checking for the options.  Rename a couple of macros and types
for more clarity.

Discussion: <23767.1464926580@sss.pgh.pa.us>
2016-06-03 10:52:45 -04:00
..
expected Fix contrib/bloom to work for unlogged indexes. 2016-05-24 21:04:35 -04:00
sql Fix contrib/bloom to work for unlogged indexes. 2016-05-24 21:04:35 -04:00
t Bloom index contrib module 2016-04-01 16:42:24 +03:00
.gitignore Bloom index contrib module 2016-04-01 16:42:24 +03:00
Makefile Bloom index contrib module 2016-04-01 16:42:24 +03:00
blcost.c Bloom index contrib module 2016-04-01 16:42:24 +03:00
blinsert.c Fix contrib/bloom to work for unlogged indexes. 2016-05-24 21:04:35 -04:00
bloom--1.0.sql Bloom index contrib module 2016-04-01 16:42:24 +03:00
bloom.control Bloom index contrib module 2016-04-01 16:42:24 +03:00
bloom.h Measure Bloom index signature-length reloption in bits, not words. 2016-06-03 10:52:45 -04:00
blscan.c Measure Bloom index signature-length reloption in bits, not words. 2016-06-03 10:52:45 -04:00
blutils.c Measure Bloom index signature-length reloption in bits, not words. 2016-06-03 10:52:45 -04:00
blvacuum.c Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00
blvalidate.c Bloom index contrib module 2016-04-01 16:42:24 +03:00