Michael Paquier <michael(dot)paquier(at)gmail(dot)com> writes:
> On Thu, Jun 15, 2017 at 9:42 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> ... but yeah, as long as we're supporting it at all, that shouldn't
>> happen. Thanks for the report!
> Tom, are you working on a patch? At quick glance, this is just missing a
> call to recordDependencyOn() in SetFunctionReturnType().
No, I'm going to bed soon. If you want to fix this, have at it.
regards, tom lane