Re: explain with placeholders?

From: Dan Sugalski <dan(at)sidhe(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: explain with placeholders?
Date: 2004-09-07 15:00:48
Message-ID: a0611040cbd637d99170f@[10.0.1.2]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 10:39 AM -0400 9/7/04, Tom Lane wrote:
>Dan Sugalski <dan(at)sidhe(dot)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.

Ah, cool. Thanks.
--
Dan

--------------------------------------it's like this-------------------
Dan Sugalski even samurai
dan(at)sidhe(dot)org have teddy bears and even
teddy bears get drunk

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alex Soto 2004-09-07 15:04:53 supressing NOTICE messages on Windows/cygwin only not working?
Previous Message Mário Gamito 2004-09-07 14:58:22 Problems importing data from plain text file