Re: explain with placeholders? - Mailing list pgsql-general

From Tom Lane
Subject Re: explain with placeholders?
Date
Msg-id 532.1094567984@sss.pgh.pa.us
Whole thread Raw
In response to explain with placeholders?  (Dan Sugalski <dan@sidhe.org>)
Responses Re: explain with placeholders?  (Dan Sugalski <dan@sidhe.org>)
List pgsql-general
Dan Sugalski <dan@sidhe.org> writes:
> Is there any way to convince explain to go do its thing when given a
> query with placeholders in it?

    PREPARE foo(...) AS SELECT ...

    EXPLAIN EXECUTE foo(...)

EXPLAIN EXECUTE is a relatively recent addition, but I'm sure it's in
7.4 at least.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: restricting non superuser from accessing other
Next
From: Mr Pink
Date:
Subject: Re: ERROR: canceling query due to user request