]> granicus.if.org Git - postgresql/commit
Use CallerFInfoFunctionCall with btree_gist for numeric types
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 21 Mar 2017 13:12:46 +0000 (09:12 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 21 Mar 2017 14:43:27 +0000 (10:43 -0400)
commit4b1c68d63e8651094cfe0631682acd999652ea70
tree472468b746c1b701c81635c56a05e25789d44d2b
parenteb2a6131beccaad2b39629191508062b70d3a1c6
Use CallerFInfoFunctionCall with btree_gist for numeric types

None of the existing types actually need to use this mechanism, but this
will allow support for enum types which will need it. A separate patch
will adjust the varlena types support for consistency.

Reviewed by Tom Lane and Anastasia Lubennikova

Discussion:  http://postgr.es/m/27220.1478360811@sss.pgh.pa.us
17 files changed:
contrib/btree_gist/btree_cash.c
contrib/btree_gist/btree_date.c
contrib/btree_gist/btree_float4.c
contrib/btree_gist/btree_float8.c
contrib/btree_gist/btree_inet.c
contrib/btree_gist/btree_int2.c
contrib/btree_gist/btree_int4.c
contrib/btree_gist/btree_int8.c
contrib/btree_gist/btree_interval.c
contrib/btree_gist/btree_macaddr.c
contrib/btree_gist/btree_macaddr8.c
contrib/btree_gist/btree_oid.c
contrib/btree_gist/btree_time.c
contrib/btree_gist/btree_ts.c
contrib/btree_gist/btree_utils_num.c
contrib/btree_gist/btree_utils_num.h
contrib/btree_gist/btree_uuid.c