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

From Tom Lane
Subject Re: machine-readable explain output v4
Date
Msg-id 10062.1250085670@sss.pgh.pa.us
Whole thread Raw
In response to Re: machine-readable explain output v4  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: machine-readable explain output v4  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Another design issue is this: The root node of an XML document is 
> ideally a distinguished element that can't occur within itself. 
> auto-explain doesn't seem to be doing this.

Huh?  I get (for "explain 2+2")
<explain xmlns="http://www.postgresql.org/2009/explain">  <Query>    <Plan>      <Node-Type>Result</Node-Type>
<Startup-Cost>0.00</Startup-Cost>     <Total-Cost>0.01</Total-Cost>      <Plan-Rows>1</Plan-Rows>
<Plan-Width>0</Plan-Width>   </Plan>  </Query></explain>
 

        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: pgindent timing (was Re: [COMMITTERS] pgsql: Refactor NUM_cache_remove calls in error report path to a PG_TRY)
Next
From: Cédric Villemain
Date:
Subject: expanding our usage of POSIX_FADVISE