Re: Invalid YAML output from EXPLAIN

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Invalid YAML output from EXPLAIN
Date: 2010-06-09 15:03:17
Message-ID: 24993.1276095797@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Wed, Jun 9, 2010 at 9:35 AM, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2010-06-09 15:05:03 Re: Invalid YAML output from EXPLAIN
Previous Message Dave Page 2010-06-09 14:58:55 Re: BUG #5475: Problem during Instalation

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-06-09 15:05:03 Re: Invalid YAML output from EXPLAIN
Previous Message Robert Haas 2010-06-09 14:43:11 Re: Invalid YAML output from EXPLAIN