Re: Setof RangeType returns

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: Patrick Handja <patrick(dot)bungama(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Setof RangeType returns
Date: 2020-12-01 22:31:29
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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.


In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-12-01 22:36:13 Recent eelpout failures on 9.x branches
Previous Message Justin Pryzby 2020-12-01 22:25:34 Re: error_severity of brin work item