Re: explain root element for auto-explain

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: explain root element for auto-explain
Дата
Msg-id 4A8D7C95.4080304@dunslane.net
обсуждение исходный текст
Ответ на Re: explain root element for auto-explain  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: explain root element for auto-explain  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: explain root element for auto-explain  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.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




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Multi-pass planner
Следующее
От: Tom Lane
Дата:
Сообщение: Re: explain root element for auto-explain