Add bool GiST opclass to btree_gist
Tomas Vondra <tomas.vondra@postgresql.org>
Add bool GiST opclass to btree_gist Adds bool opclass to btree_gist extension, to allow creating GiST indexes on bool columns. GiST indexes on a single bool column don't seem particularly useful, but this allows defining exclusion constraings involving a bool column, for example. Author: Emre Hasegeli Reviewed-by: Andrey Borodin Discussion: https://postgr.es/m/CAE2gYzyDKJBZngssR84VGZEN=Ux=V9FV23QfPgo+7-yYnKKg4g@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/btree_gist/btree_bool.c | added | +169 −0 |
| contrib/btree_gist/btree_gist--1.6--1.7.sql | added | +62 −0 |
| contrib/btree_gist/btree_gist.control | modified | +1 −1 |
| contrib/btree_gist/btree_gist.h | modified | +1 −0 |
| contrib/btree_gist/btree_utils_num.c | modified | +8 −0 |
| contrib/btree_gist/expected/bool.out | added | +96 −0 |
| contrib/btree_gist/Makefile | modified | +3 −2 |
| contrib/btree_gist/sql/bool.sql | added | +42 −0 |
Discussion
- GiST operator class for bool 11 messages · 2021-06-08 → 2021-12-11