EXPLAIN EXECUTE

Started by Peter Eisentrautabout 23 years ago4 messages
#1Peter Eisentraut
peter_e@gmx.net

I notice that you can't explain stored plans, i.e., EXPLAIN EXECUTE.
Might be handy to have.

--
Peter Eisentraut peter_e@gmx.net

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#1)
Re: EXPLAIN EXECUTE

Peter Eisentraut <peter_e@gmx.net> writes:

I notice that you can't explain stored plans, i.e., EXPLAIN EXECUTE.
Might be handy to have.

Yeah, that was on my to-fix list also. There is more reason to have
this than just completeness: as things stand, EXPLAIN cannot teach you
anything about what the planner does with parameterized queries ---
which arise not only in PREPARE, but in SQL and plpgsql functions.
EXPLAIN EXECUTE would make it possible to look at parameterized plans.

regards, tom lane

#3Neil Conway
neilc@samurai.com
In reply to: Tom Lane (#2)
Re: EXPLAIN EXECUTE

On Thu, 2003-01-09 at 16:53, Tom Lane wrote:

Peter Eisentraut <peter_e@gmx.net> writes:

I notice that you can't explain stored plans, i.e., EXPLAIN EXECUTE.
Might be handy to have.

Yeah, that was on my to-fix list also.

Heh, I too was planning to implement this. Would you like to take a
crack it at, or should I?

Cheers,

Neil

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#3)
Re: EXPLAIN EXECUTE

Neil Conway <neilc@samurai.com> writes:

On Thu, 2003-01-09 at 16:53, Tom Lane wrote:

Yeah, that was on my to-fix list also.

Heh, I too was planning to implement this. Would you like to take a
crack it at, or should I?

Go for it...

regards, tom lane