[PATCH] btree_gin, add support for uuid, bool, name, bpchar and anyrange types

Matheus de Oliveira <matioli.matheus@gmail.com>

From: Matheus de Oliveira <matioli.matheus@gmail.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-02-20T14:34:47Z
Lists: pgsql-hackers

Attachments

Hi all.

Here is a patch to add support for more types on btree_gin.

I was missing UUID type, so I added it. Since I was there, I checked all
other built-in types with B-tree but not GIN support, and the remaining
list was: uuid, bool, name, bpchar and anyrange (at least ones that seem to
make sense to me). So I added support for all of them.

If you have any other type I missed and you wish to have support to, please
let me know and I can add it.

Thanks a lot.

Regards,
-- 
Matheus de Oliveira

Commits

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