From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add btree_gist support for enum types.
Date: Tue, 21 Mar 2017 15:08:16 +0000
Message-ID: <E1cqLOS-0002pN-Dz@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Add btree_gist support for enum types.
This will allow enums to be used in exclusion constraints.
The code uses the new CallerFInfoFunctionCall infrastructure in fmgr,
and the support for it added to btree_gist in commit 393bb504d7.
Reviewed by Tom Lane and Anastasia Lubennikova
Discussion: http://postgr.es/m/56EA8A71.8060107@dunslane.net
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/f7946a92b689199cba64e7406a1c12d12637168a
Modified Files
--------------
contrib/btree_gist/Makefile | 9 +-
contrib/btree_gist/btree_enum.c | 187 +++++++++
contrib/btree_gist/btree_gist--1.4--1.5.sql | 69 ++++
contrib/btree_gist/btree_gist.control | 2 +-
contrib/btree_gist/btree_gist.h | 3 +-
contrib/btree_gist/btree_utils_num.c | 2 +
contrib/btree_gist/data/enum.data | 595 ++++++++++++++++++++++++++++
contrib/btree_gist/expected/enum.out | 91 +++++
contrib/btree_gist/sql/enum.sql | 38 ++
doc/src/sgml/btree-gist.sgml | 2 +-
10 files changed, 991 insertions(+), 7 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andrew@dunslane.net
Subject: Re: pgsql: Add btree_gist support for enum types.
In-Reply-To: <E1cqLOS-0002pN-Dz@gemulon.postgresql.org>
References: <E1cqLOS-0002pN-Dz@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox