Re: function call vs staright query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: function call vs staright query
Дата
Msg-id 21145.1174277261@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: function call vs staright query  (Vincenzo Romano <vincenzo.romano@gmail.com>)
Ответы Re: function call vs staright query
Список pgsql-performance
Vincenzo Romano <vincenzo.romano@gmail.com> writes:
> How can I delay the query planner decisions until the actual query is to be
> done inside the function body?

Use plpgsql's EXECUTE.  AFAIR there is no way in a SQL-language function.

            regards, tom lane

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

Предыдущее
От: Michael Stone
Дата:
Сообщение: Re: Performance Tuning and Disk Cache
Следующее
От: Vincenzo Romano
Дата:
Сообщение: Re: function call vs staright query