On 08/07/19 11:39, Tom Lane wrote:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> I should to use a cache accessed via fn_extra. There will be stored data
>> about function parameters (types). If I understand correctly, these data
>> should be stable in query, and then recheck is not necessary. Is it true?
>
> I wouldn't trust that. You don't really know what the lifespan of
> a fn_extra cache is.
It is going to be either the last thing I put there, or NULL, right?
So a null check is sufficient?
Other than when the SRF_* api has commandeered it for other purposes?
Regards,
-Chap