Re: YAML Was: CommitFest status/management

From: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: YAML Was: CommitFest status/management
Date: 2009-12-09 02:26:24
Message-ID: 20091209112624.9375.52131E4D@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Can I ask the final decision whether the YAML formatter should be
applied or rejected? As far as I read the discussion, we can apply it
because serveral users want it and we don't have a plan to support
extensible formatters in the core.

Greg Smith <greg(at)2ndquadrant(dot)com> wrote:
> -The patch is small to apply
> -Having one more "legacy" format to satisfy would actually improve the
> odds that a future modular EXPLAIN would be robustly designed
> -While it's questionable whether it's strictly a majority on voting
> here, it's close, which suggests there is plenty of support for wanting
> this feature
> -Since nothing is removed the people who aren't in favor of this format
> aren't negatively impacted by it being committed

Comments from additional discussion:

- YAML format is the second (or the best for some people)
human-unreadabe format for EXPLAIN output.

- JSON is not always a subset of YAML. It is not recommended to
generate/parse YAML with a JSON generator/parser or vice versa.

- We won't add any core hooks and plug-in to format EXPLAIN output.
Client tools may convert the output if needed. (ex. using XLST)

- The spec of YAML might be changed in the feature, but we use
only the basic parts. The parts will not be changed.

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2009-12-09 02:34:21 Re: Adding support for SE-Linux security
Previous Message KaiGai Kohei 2009-12-09 02:11:42 Re: Adding support for SE-Linux security