From 57e3c5160b24e61758f817feb7aac152cd695c6f Mon Sep 17 00:00:00 2001 From: Tomas Vondra Date: Sat, 6 Nov 2021 17:00:43 +0100 Subject: 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 --- contrib/btree_gist/btree_gist.h | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/btree_gist/btree_gist.h') diff --git a/contrib/btree_gist/btree_gist.h b/contrib/btree_gist/btree_gist.h index 14c7c8ee193..f22f14ac4ca 100644 --- a/contrib/btree_gist/btree_gist.h +++ b/contrib/btree_gist/btree_gist.h @@ -32,6 +32,7 @@ enum gbtree_type gbt_t_bpchar, gbt_t_bytea, gbt_t_bit, + gbt_t_bool, gbt_t_inet, gbt_t_uuid, gbt_t_enum -- cgit v1.2.3