Re: Invalid YAML output from EXPLAIN

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Invalid YAML output from EXPLAIN
Дата
Msg-id 9beba770f7ea99c46219ac7f8dd80525@biglumber.com
обсуждение исходный текст
Ответ на Re: Invalid YAML output from EXPLAIN  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Invalid YAML output from EXPLAIN  (Robert Haas <robertmhaas@gmail.com>)
Re: Invalid YAML output from EXPLAIN  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Andy Balholm
Дата:
Сообщение: Re: BUG #5490: INSERT doesn't force cast from text to timestamp
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Invalid YAML output from EXPLAIN