Re: snprintf assert is broken by plpgsql #option dump

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: snprintf assert is broken by plpgsql #option dump
Date: 2018-10-05 00:54:58
Message-ID: CAFj8pRDZp_1suXU9PPEjsS52tc=3m8O6LPOgCesUemKG1UNEzA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

čt 4. 10. 2018 v 23:57 odesílatel Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> napsal:

> 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.
>

+1

Pavel

> regards, tom lane
>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bossart, Nathan 2018-10-05 01:14:46 Re: pg_ls_tmpdir()
Previous Message Andrew Gierth 2018-10-05 00:40:05 Re: Early WIP/PoC for inlining CTEs