GiST operator class for bool

Emre Hasegeli <emre@hasegeli.com>

From: Emre Hasegeli <emre@hasegeli.com>
To: pgsql-hackers@postgresql.org
Date: 2021-06-08T10:48:10Z
Lists: pgsql-hackers

Attachments

It could be useful to use bool in exclusion constraints, but it's
currently not nicely supported.  The attached patch adds support for
bool to the btree_gist extension, so we can do this.

I am adding this to the commitfest 2021-07.

Commits

  1. Add bool to btree_gist documentation

  2. Fix gist_bool_ops to use gbtreekey2

  3. Add bool GiST opclass to btree_gist