Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-hackers by date

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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group