Minor cleanups in the BRIN code
Tomas Vondra <tomas.vondra@postgresql.org>
Minor cleanups in the BRIN code BRIN bloom and minmax-multi opclasses were somewhat inconsistent when dealing with bool variables, assigning to them Datum values etc. While not a bug, it makes the code harder to understand, so fix that. While at it, update an incorrect comment copied to bloom opclass from minmax, talking about strategies not supported by bloom. Reviewed-by: Heikki Linnakangas Discussion: https://postgr.es/m/0e1f3350-c9cf-ab62-43a5-5dae314de89c%40enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/brin/brin_bloom.c | modified | +9 −6 |
| src/backend/access/brin/brin_minmax_multi.c | modified | +12 −12 |
Discussion
- BRIN indexes vs. SK_SEARCHARRAY (and preprocessing scan keys) 16 messages · 2023-02-13 → 2024-01-15