Re: Invalid YAML output from EXPLAIN

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Invalid YAML output from EXPLAIN
Date: 2010-06-07 14:18:00
Message-ID: 15452.1275920280@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

"Greg Sabino Mullane" <greg(at)turnstep(dot)com> writes:
> The rules should be:

> Requires quoting only if the first character:
> & * ! | > ' " % @ ` #

> Same as above, but no quoting if the second character is "safe":
> - ? :

> Always requires quoting:
> ":<space>" "<space>#" aka ': ' ' #'

> Always requires quoting:
> , [ ] { }

> Always require quoting:
> (leading space) (trailing space) (empty string)

Egad ... this is supposed to be an easily machine-generatable format?

If it's really as broken as the above suggests, I think we should
rip it out while we still can.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andy Balholm 2010-06-07 14:30:54 Re: BUG #5490: INSERT doesn't force cast from text to timestamp
Previous Message Greg Sabino Mullane 2010-06-07 13:59:59 Re: Invalid YAML output from EXPLAIN

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2010-06-07 14:35:48 Re: Re: Mailing list archives (was Re: [HACKERS] mailing list archiver chewing patches)
Previous Message Greg Sabino Mullane 2010-06-07 13:59:59 Re: Invalid YAML output from EXPLAIN