Add support of bool, bpchar, name and uuid to btree_gin

Enterprise / PostgreSQL - Teodor Sigaev [sigaev.ru] - 5 April 2018 15:19 EDT

Mostly for completeness, but I believe there are cases to use that in multicolumn GIN indexes.

Bump btree_gin module version

Author: Matheus Oliveira Reviewed by: Tomas Vondra Discussion: https://www.postgresql.org/message-id/flat/CAJghg4LMJf6Z13fnZD-MBNiGxzd0cA2=F3TDjNkX3eQH58hktQ@mail.gmail.com

f4cd7102b5 Add support of bool, bpchar, name and uuid to btree_gin
contrib/btree_gin/Makefile | 4 +-
contrib/btree_gin/btree_gin--1.2--1.3.sql | 128 ++++++++++++++++++++++++++++++
contrib/btree_gin/btree_gin.c | 31 +++++++-
contrib/btree_gin/btree_gin.control | 2 +-
contrib/btree_gin/expected/bool.out | 119 +++++++++++++++++++++++++++
contrib/btree_gin/expected/bpchar.out | 109 +++++++++++++++++++++++++
contrib/btree_gin/expected/name.out | 97 ++++++++++++++++++++++
contrib/btree_gin/expected/uuid.out | 104 ++++++++++++++++++++++++
contrib/btree_gin/sql/bool.sql | 27 +++++++
contrib/btree_gin/sql/bpchar.sql | 22 +++++
contrib/btree_gin/sql/name.sql | 21 +++++
contrib/btree_gin/sql/uuid.sql | 28 +++++++
doc/src/sgml/btree-gin.sgml | 3 +-
13 files changed, 690 insertions(+), 5 deletions(-)

Upstream: git.postgresql.org


  • Share