Re: Invalid YAML output from EXPLAIN - Mailing list pgsql-bugs

From Dean Rasheed
Subject Re: Invalid YAML output from EXPLAIN
Date
Msg-id AANLkTikNPQk9pjxKIvvc1Rx0_qtpI5I0aWhXyHiX8mdU@mail.gmail.com
Whole thread Raw
In response to Re: Invalid YAML output from EXPLAIN  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On 9 June 2010 17:25, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Wed, Jun 9, 2010 at 11:14 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Why not? =A0Surely we can restrict EXPLAIN's set of key names to be saf=
e.
>
>> It seems to me that it would be easy for a future patch to break this
>> by accident.
>
> Really? =A0What likely key names would be in need of quoting? =A0I can't
> imagine accepting a field name that contains punctuation or leading
> or trailing whitespace, for example.
>

And any of those things would break the XML output too.
I can't imagine that going unnoticed.

Dean

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Invalid YAML output from EXPLAIN
Next
From: Robert Haas
Date:
Subject: Re: Invalid YAML output from EXPLAIN