Re: SQL functions vs. PL/PgSQL functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SQL functions vs. PL/PgSQL functions
Дата
Msg-id 18112.1287067242@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SQL functions vs. PL/PgSQL functions  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-performance
Merlin Moncure <mmoncure@gmail.com> writes:
> On Wed, Oct 13, 2010 at 10:14 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> It's possible that at some point we'll try to introduce plan caching
>> for non-inlined SQL functions.

> hm, I think the search_path/function plan issue would have to be dealt
> with before doing this --

Yeah, perhaps.  There doesn't seem to be any groundswell of demand for
doing anything about that anyway.  Particularly since plpgsql is now
installed by default, a reasonable answer to "I'd like the system to
cache plans for this" is now "so write it in plpgsql instead".

            regards, tom lane

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: SQL functions vs. PL/PgSQL functions
Следующее
От: Jesper Krogh
Дата:
Сообщение: Re: Slow count(*) again...