Re: explain and PARAM_EXEC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: explain and PARAM_EXEC
Дата
Msg-id 417.1266678864@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: explain and PARAM_EXEC  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: explain and PARAM_EXEC
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: auto_explain causes regression failures