Re: Tuning queries inside a function

Поиск
Список
Период
Сортировка
От Mike Nolan
Тема Re: Tuning queries inside a function
Дата
Msg-id 200505021807.j42I78oB001616@gw.tssi.com
обсуждение исходный текст
Ответ на Re: Tuning queries inside a function  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Tuning queries inside a function  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
> Mike Nolan wrote:
> >>select * from foo('bar','debug')
> >
> >
> > But how do I do that inside a pl/pgsql function?  'select into' doesn't
> > seem to work properly.
>
>
> You would have to code it. For example:
>
> IF $2 = ''debug'' THEN:

That part I get, but I cannot seem to get an 'explain select....' to return
the explain output inside a function.
--
Mike Nolan

В списке pgsql-general по дате отправления:

Предыдущее
От: Marko Kreen
Дата:
Сообщение: Re: Using pgcrypto with AES-256 bits?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Tuning queries inside a function