Re: Command Triggers, patch v11

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Command Triggers, patch v11
Дата
Msg-id 16291.1332183089@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Command Triggers, patch v11  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Command Triggers, patch v11
Список pgsql-hackers
I wrote:
> One thing I soon found is that it lacks support for EXPLAIN SELECT INTO.

While I'm not particularly excited about fixing PREPARE ... SELECT INTO
or CREATE RULE ... SELECT INTO, I've come to the conclusion that the
EXPLAIN case is a must-fix.  Because not only is EXPLAIN SELECT INTO
broken, but so is EXPLAIN CREATE TABLE AS, and the latter functionality
is actually documented.  So presumably somebody went out of their way
to make this work, at some point.

Since I've got the table-creation code moved into intorel_startup,
this doesn't look to be that painful, but it will require an API change
for ExplainOnePlan, which is slightly annoying because that's probably
in use by third-party plugins.  We could either break them obviously
(by adding an explicit parameter) or break them subtly (by adding an
ExplainState field they might forget to initialize).  The former seems
preferable.
        regards, tom lane


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

Предыдущее
От: Atri Sharma
Дата:
Сообщение: Re: Regarding column reordering project for GSoc 2012
Следующее
От: Tom Lane
Дата:
Сообщение: Re: incompatible pointer types with newer zlib