On 12/01/20 17:19, Patrick Handja wrote: > Just figured out. I think I can use RANGE_EMPTY and it will be like: > >> typcache =range_get_typcache(fcinfo, RangeTypeGetOid(RANGE_EMPTY));
Are you sure you are not simply looking for range_get_typcache(fcinfo, INT4RANGEOID) ? Top-posting is not used for replies on these lists. Regards, -Chap