Minor cleanups in the BRIN code
authorTomas Vondra <tomas.vondra@postgresql.org>
Sun, 2 Jul 2023 08:18:56 +0000 (10:18 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sun, 2 Jul 2023 08:21:17 +0000 (10:21 +0200)
commit28d03feac386c2c68ffaa47f30e6578591ef5c1b
treed7b369d344865cd2085b00e4b3d1db3a51ba6a4a
parent4f49b3f8497d5c8c3cc06eb32942c13b8ee7209e
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
src/backend/access/brin/brin_bloom.c
src/backend/access/brin/brin_minmax_multi.c