Re: Stored procedure returning row or resultset

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Stored procedure returning row or resultset
Дата
Msg-id 200210150917.26662.dev@archonet.com
обсуждение исходный текст
Ответ на Re: Stored procedure returning row or resultset  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Stored procedure returning row or resultset  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
On Monday 14 Oct 2002 6:17 pm, Tom Lane wrote:
> Richard Huxton <dev@archonet.com> writes:
> > Have you looked at marking f1() etc cachable? This means Postgresql
> > will only call the function once for each parameter-set.
>
> Unfortunately that's not true at all, or at least not helpful for this
> problem.  The cachable attribute was poorly named, because it leads
> people to think that PG *will* cache function results, as opposed to
> *could* cache function results.

I must admit, that was my impression. Are there simple rules for if/when PG
will cache function results?

--  Richard Huxton


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

Предыдущее
От: Keith Gray
Дата:
Сообщение: Re: Slow performance on MAX(primary_key)
Следующее
От: "Peter Galbavy"
Дата:
Сообщение: how do i insert an empty string ?