From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andreas Seltenreich <seltenreich@gmx.de>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [sqlsmith] Crash on GUC serialization
Date: Sat, 19 Nov 2016 21:01:23 -0500
Message-ID: <13877.1479607283@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoZb_DYxGeKzS0KcxgjApVpS9=1WiL94tZgJSeKd-27zQg@mail.gmail.com>
References: <871sy78wno.fsf@credativ.de>
<2655.1479576672@sss.pgh.pa.us>
<CA+TgmoZb_DYxGeKzS0KcxgjApVpS9=1WiL94tZgJSeKd-27zQg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, seltenreich@gmx.de
Subject: Re: [sqlsmith] Crash on GUC serialization
In-Reply-To: <13877.1479607283@sss.pgh.pa.us>
References: <871sy78wno.fsf@credativ.de> <2655.1479576672@sss.pgh.pa.us> <CA+TgmoZb_DYxGeKzS0KcxgjApVpS9=1WiL94tZgJSeKd-27zQg@mail.gmail.com> <13877.1479607283@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox