Re: explain root element for auto-explain

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: explain root element for auto-explain
Date: 2009-08-20 16:40:53
Message-ID: 4A8D7C95.4080304@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>> Updated version with more complete information (regression crash was due
>> to my bad script).
>>
>
> I took a look through the source code to match it against this. I found
> that you missed a couple of possibilities: we have <Notify /> and
> <Utility-Statement /> as alternatives to <Query> just below <explain>.
>

What causes those to happen? Here's how I mangled the regression tests
to produce the output that this analysis was taken from:

perl -spi.bak -e
's/^(insert|update|select|delete|declare|execute|create table .* as)
/explain (analyse true, verbose true, format xml) $1 /i;' *.sql

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-08-20 16:49:19 Re: explain root element for auto-explain
Previous Message Robert Haas 2009-08-20 16:23:48 Re: Multi-pass planner