Re: [sqlsmith] Crash on GUC serialization

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Andreas Seltenreich <seltenreich(at)gmx(dot)de>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [sqlsmith] Crash on GUC serialization
Date: 2016-11-20 02:01:23
Message-ID: 13877.1479607283@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Sat, Nov 19, 2016 at 12:31 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Thanks for the report! Looks like the serialization code has overlooked
>> the fact that string-valued GUCs can be NULL. Surprising we didn't
>> find that before ...

> Why do we allow this, anyway?

I think it simplifies some initialization cases. Not sure how hard
it would be to remove that. But this isn't the first such bug ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-11-20 02:45:55 Re: amcheck (B-Tree integrity checking tool)
Previous Message Robert Haas 2016-11-20 01:56:00 Re: [sqlsmith] Crash on GUC serialization