Re: explain root element for auto-explain

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: explain root element for auto-explain
Дата
Msg-id 15256.1250784207@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: explain root element for auto-explain  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: explain root element for auto-explain
Список pgsql-hackers
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>.

Also, it looks to me like <Item> is simply being used as an element
of lists (cf ExplainPropertyList); I was mistaken to equate it with
<Expr>.  I don't know XML well enough to understand if we really need
that syntactic detail, or if there's a more idiomatic way to treat
lists.

BTW, I wonder why <explain> doesn't have an init-cap like every other
node type name ...
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: explain root element for auto-explain
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Duplicated Keys in PITR