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

From Greg Sabino Mullane
Subject Re: Invalid YAML output from EXPLAIN
Date
Msg-id 9beba770f7ea99c46219ac7f8dd80525@biglumber.com
Whole thread Raw
In response to Re: Invalid YAML output from EXPLAIN  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Invalid YAML output from EXPLAIN  (Robert Haas <robertmhaas@gmail.com>)
Re: Invalid YAML output from EXPLAIN  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


Tom Lane wrote:
...
> 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.

Heh ... not like you to shrink from a challenge. ;)

I don't think the above would be particularly hard to implement myself, 
but if it becomes a really big deal, we can certainly punt by simply 
quoting anything containing an indicator (the special characters above).
It will still be 100% valid YAML, just with some excess quoting for the 
very rare case when a value contains one of the special characters.

- -- 
Greg Sabino Mullane greg@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201006071035
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkwNA+4ACgkQvJuQZxSWSshSswCg81kd3FdYnQup1eLWGesm+vm+
VO8AoL1Fwil/vXfRdRHx4A4zZUTDbZuT
=oPDv
-----END PGP SIGNATURE-----




pgsql-bugs by date:

Previous
From: Andy Balholm
Date:
Subject: Re: BUG #5490: INSERT doesn't force cast from text to timestamp
Next
From: Robert Haas
Date:
Subject: Re: Invalid YAML output from EXPLAIN