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