ExplainOneQuery_hook ignored for EXPLAIN EXECUTE

Поиск
Список
Период
Сортировка
От Andres Freund
Тема ExplainOneQuery_hook ignored for EXPLAIN EXECUTE
Дата
Msg-id 20161113203425.jhrmyozuw725fmu6@alap3.anarazel.de
обсуждение исходный текст
Ответы Re: ExplainOneQuery_hook ignored for EXPLAIN EXECUTE
Список pgsql-hackers
Hi,

I don't quite know what the hook in $subject was originally designed
for, but right now it has the problem that it's not invoked for EXPLAIN
EXECUTE.  That's because ExplainExecuteQuery directly calls
ExplainOnePlan instead of ExplainOneQuery_hook.

Unfortunately that's not entirely trivial to fix, because the hook
accepts a Query, not a PlannedStmt.

Does anybody have a good way to fix this?

Greetings,

Andres Freund



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