Re: YAML Was: CommitFest status/management

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Florian Weimer <fweimer@bfk.de>
Cc: Dimitri Fontaine <dfontaine@hi-media.com>, Greg Smith <greg@2ndquadrant.com>, Robert Haas <robertmhaas@gmail.com>, Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>, Josh Berkus <josh@agliodbs.com>, Tom Lane <tgl@sss.pgh.pa.us>, Ron Mayer <rm_pg@cheapcomplexdevices.com>, Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@postgresql.org
Date: 2009-12-07T17:45:42Z
Lists: pgsql-hackers
Florian Weimer escribió:
> * Dimitri Fontaine:
> 
> > Well we have JSON and agreed it was a good idea to have it. Now JSON is
> > a subset of YAML and some would prefer another YAML style (me included).
> 
> YAML is rather difficult to parse, and most parsers assume a trusted
> document source because they support arbitrary class instantiations
> (and it's not possible to switch this off, or it's rather involved to
> do so).

That's irrelevant because EXPLAIN YAML is already a trusted document
source.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support