MV patch broke users of ExplainOneQuery_hook

Поиск
Список
Период
Сортировка
От Robert Haas
Тема MV patch broke users of ExplainOneQuery_hook
Дата
Msg-id CA+TgmoZTjoBh40gZd8CoyWbwfUhNtLXF+nA0nG6P8FNhcThfGQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: MV patch broke users of ExplainOneQuery_hook  (Kevin Grittner <kgrittn@ymail.com>)
Re: MV patch broke users of ExplainOneQuery_hook  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
The materialized views patch adjusted ExplainOneQuery to take an
additional DestReceiver argument, but failed to add a matching
argument to the definition of ExplainOneQuery_hook.  This makes the
hook unusable.  The idea of this hook is that your hook function will
do something before and/or after calling pg_plan_query and
ExplainOnePlan.  But this no longer works, because ExplainOnePlan
needs the DestReceiver, which hasn't been exposed to the hook.   :-(

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Rodrigo Barboza
Дата:
Сообщение: Re: Unrecognized type error (postgres 9.1.4)
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: MV patch broke users of ExplainOneQuery_hook