Re: ExplainOneQuery_hook ignored for EXPLAIN EXECUTE

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: ExplainOneQuery_hook ignored for EXPLAIN EXECUTE
Дата
Msg-id CAM-w4HP7Jh4wRcG10CLYJxX5aSLoUbZ0bgkaMUeRaTbx=xXP0w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ExplainOneQuery_hook ignored for EXPLAIN EXECUTE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 13 November 2016 at 22:31, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Andres Freund <andres@anarazel.de> writes:
>> On 2016-11-13 17:20:05 -0500, Tom Lane wrote:
>>> Why do you care?  It's a pretty specialized hook.
>
>> Citus currently uses it to output additional information for distributed
>> queries. I suspect we'll instead, for now, have to intercept EXPLAIN as
>> a whole then :( (moving to custom plans unfortunately is still a bit off
>> unfortunately).
>
> Seems like you might want a hook further down then, perhaps at
> ExplainPrintPlan.

Fwiw I've found myself wishing for the same hook. I would like to add
a feature for pg_stat_statements to make some easy way to look up the
queryid for a given query. It seems like having it annotate EXPLAIN
output would be ideal.


-- 
greg


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Error handling (or lack of it) in RemovePgTempFilesInDir
Следующее
От: Noah Misch
Дата:
Сообщение: Re: REPLICA IDENTITY FULL