aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/geo_spgist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-06-03 10:52:36 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-06-03 10:52:45 -0400
commitee4af347ba89b8492d1f86b6456865e1de1d030f (patch)
tree3a4b7ac8789084350eced2d3564670a6f7a8e06f /src/backend/utils/adt/geo_spgist.c
parentfdfaccfa798c1c9993feae1fac6e0f79d72aa7b7 (diff)
downloadpostgresql-ee4af347ba89b8492d1f86b6456865e1de1d030f.tar.gz
postgresql-ee4af347ba89b8492d1f86b6456865e1de1d030f.zip
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>
Diffstat (limited to 'src/backend/utils/adt/geo_spgist.c')
0 files changed, 0 insertions, 0 deletions