Re: explain and PARAM_EXEC - Mailing list pgsql-hackers

From Tom Lane
Subject Re: explain and PARAM_EXEC
Date
Msg-id 417.1266678864@sss.pgh.pa.us
Whole thread Raw
In response to Re: explain and PARAM_EXEC  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sat, Feb 20, 2010 at 7:53 AM, Greg Stark <gsstark@mit.edu> wrote:
>> Perhaps it would be clearer to display the "(Subplan 1)" in a function
>> call style format like Subplan1(b.oid)

> I thought about that, too...  maybe for 9.1 we should consider it.  It
> might be nice to add some sort of glyph to make the user less likely
> to think that Subplan1 is in fact a function. <Subplan1>(b.oid)?
> ${Subplan1}(b.oid)?  I dunno.

You really can't escape the need to identify which $N symbol is
associated with which parameter value.  As soon as you've got more than
one subplan in a query, that becomes a nontrivial thing for a user to
guess.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: explain and PARAM_EXEC
Next
From: Andrew Dunstan
Date:
Subject: Re: auto_explain causes regression failures