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

From Tom Lane
Subject Re: Invalid YAML output from EXPLAIN
Date
Msg-id 24993.1276095797@sss.pgh.pa.us
Whole thread Raw
In response to Re: Invalid YAML output from EXPLAIN  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Invalid YAML output from EXPLAIN  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
Robert Haas <robertmhaas@gmail.com> writes:
> On Wed, Jun 9, 2010 at 9:35 AM, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>>> Does anyone care that Alias will sometimes be a string, and sometimes a number?

> After further review, it appears to me that this change is pretty much
> required, because otherwise a string like 0xa won't be quoted.  I
> might think it's OK for "123" to turn into 123, but I'm not going to
> be so happy about "0xa" turning into 10.  Please test the attached
> patch.

I still agree with Dean's original proposal: always quote the values of
strings.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Dave Page
Date:
Subject: Re: BUG #5475: Problem during Instalation
Next
From: Robert Haas
Date:
Subject: Re: Invalid YAML output from EXPLAIN