Re: snprintf assert is broken by plpgsql #option dump - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: snprintf assert is broken by plpgsql #option dump
Date
Msg-id CAFj8pRDZp_1suXU9PPEjsS52tc=3m8O6LPOgCesUemKG1UNEzA@mail.gmail.com
Whole thread Raw
In response to Re: snprintf assert is broken by plpgsql #option dump  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers


čt 4. 10. 2018 v 23:57 odesílatel Tom Lane <tgl@sss.pgh.pa.us> napsal:
I wrote:
> Pavel Stehule <pavel.stehule@gmail.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.
 

+1

Pavel
 
                        regards, tom lane

pgsql-hackers by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: Early WIP/PoC for inlining CTEs
Next
From: "Bossart, Nathan"
Date:
Subject: Re: pg_ls_tmpdir()