I wrote:
> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
>> I found two parts
> Thanks for the report, will push something.
On closer look, I'm not sure that these are the only places that are
assuming that any PLpgSQL_variable struct has a refname. What seems
like a safer answer is to make sure they all do, more or less as
attached.
regards, tom lane