On 10.09.21 21:27, Tom Lane wrote:
> Perhaps it'd work to put the phony entry into fcinfo->flinfo->fn_mcxt
> instead of CacheMemoryContext.
>
> BTW, skink's failure can be reproduced pretty quickly by running the
> attached under valgrind.
Ok, the attached patch fixes the valgrind error.