Re: machine-readable explain output v4 - Mailing list pgsql-hackers

From Andres Freund
Subject Re: machine-readable explain output v4
Date
Msg-id 200908030241.59569.andres@anarazel.de
Whole thread Raw
In response to Re: machine-readable explain output v4  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Monday 03 August 2009 01:57:48 Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > > - The regression tests are gone?
> > Tom added some that look adequate to me to create_index.sql, as a
> > separate commit, so I don't think I need to do this in my patch any
> > more.  Maybe some of those examples should be changed to output JSON
> > or XML, though, but I'd rather leave this up to Tom's discretion on
> > commit because I think he has opinions about this and I think my
> > chances of guessing what they are are low.
> Well, of course the existing tests are not going to exercise XML or
> JSON output format.  Dunno how much we care.  I had supposed that
> XML or JSON would always emit all the fields and leave it to the
> recipient to suppress what they don't want.  If we want to have
> platform-independent regression tests then we'd need to make the
> COSTS option effective for XML/JSON format --- do we want that?
Options such as COSTS do effect XML/JSON right now. While not important for 
COSTS itself, I think its generally good to do so because a certain option 
might not be done per default efficiencywise and I don't see a reason to 
specialcase COSTS.

Andres


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: change in timestamp output from 8.3 to 8.4
Next
From: Robert Haas
Date:
Subject: Re: machine-readable explain output v4