Re: [BUGS] Invalid YAML output from EXPLAIN - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUGS] Invalid YAML output from EXPLAIN
Date
Msg-id 15452.1275920280@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] Invalid YAML output from EXPLAIN  ("Greg Sabino Mullane" <greg@turnstep.com>)
Responses Re: [BUGS] Invalid YAML output from EXPLAIN  ("Greg Sabino Mullane" <greg@turnstep.com>)
Re: [BUGS] Invalid YAML output from EXPLAIN  (Florian Weimer <fweimer@bfk.de>)
List pgsql-hackers
"Greg Sabino Mullane" <greg@turnstep.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


pgsql-hackers by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: [BUGS] Invalid YAML output from EXPLAIN
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: [BUGS] Invalid YAML output from EXPLAIN