ExplainOneQuery_hook ignored for EXPLAIN EXECUTE

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: ExplainOneQuery_hook ignored for EXPLAIN EXECUTE
Date: 2016-11-13 20:34:25
Message-ID: 20161113203425.jhrmyozuw725fmu6@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rahila Syed 2016-11-13 20:50:09 Re: Improvements in psql hooks for variables
Previous Message Thomas Munro 2016-11-13 20:19:38 Re: Physical append-only tables