aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_gist.h
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2021-11-06 17:00:43 +0100
committerTomas Vondra <tomas.vondra@postgresql.org>2021-11-06 17:00:43 +0100
commit57e3c5160b24e61758f817feb7aac152cd695c6f (patch)
treeaf80841b8c3eab2e46d003bcbc573b62557e4644 /contrib/btree_gist/btree_gist.h
parentdafcf887daa472b0a49bee7e07042372bc37cee4 (diff)
downloadpostgresql-57e3c5160b24e61758f817feb7aac152cd695c6f.tar.gz
postgresql-57e3c5160b24e61758f817feb7aac152cd695c6f.zip
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
Diffstat (limited to 'contrib/btree_gist/btree_gist.h')
-rw-r--r--contrib/btree_gist/btree_gist.h1
1 files changed, 1 insertions, 0 deletions
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