diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2017-03-21 10:19:03 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2017-03-21 10:43:27 -0400 |
commit | f7946a92b689199cba64e7406a1c12d12637168a (patch) | |
tree | 2f41255ef1200e06a7a707e8a57e5841af6daa36 /contrib/btree_gist/btree_gist.h | |
parent | 65a9138b9b66b2c915619344ca56f4f0d531ada7 (diff) | |
download | postgresql-f7946a92b689199cba64e7406a1c12d12637168a.tar.gz postgresql-f7946a92b689199cba64e7406a1c12d12637168a.zip |
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
Diffstat (limited to 'contrib/btree_gist/btree_gist.h')
-rw-r--r-- | contrib/btree_gist/btree_gist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/btree_gist/btree_gist.h b/contrib/btree_gist/btree_gist.h index f759299bb2d..011285abce0 100644 --- a/contrib/btree_gist/btree_gist.h +++ b/contrib/btree_gist/btree_gist.h @@ -33,7 +33,8 @@ enum gbtree_type gbt_t_bytea, gbt_t_bit, gbt_t_inet, - gbt_t_uuid + gbt_t_uuid, + gbt_t_enum }; #endif |