Re: [sqlsmith] Crash on GUC serialization - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [sqlsmith] Crash on GUC serialization
Date
Msg-id 13877.1479607283@sss.pgh.pa.us
Whole thread Raw
In response to Re: [sqlsmith] Crash on GUC serialization  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sat, Nov 19, 2016 at 12:31 PM, Tom Lane <tgl@sss.pgh.pa.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



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [sqlsmith] Crash on GUC serialization
Next
From: Robert Haas
Date:
Subject: Re: amcheck (B-Tree integrity checking tool)