ExplainOneQuery_hook ignored for EXPLAIN EXECUTE - Mailing list pgsql-hackers

From Andres Freund
Subject ExplainOneQuery_hook ignored for EXPLAIN EXECUTE
Date
Msg-id 20161113203425.jhrmyozuw725fmu6@alap3.anarazel.de
Whole thread Raw
Responses Re: ExplainOneQuery_hook ignored for EXPLAIN EXECUTE  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Physical append-only tables
Next
From: Rahila Syed
Date:
Subject: Re: Improvements in psql hooks for variables