Re: Static functions

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Static functions
Дата
Msg-id 873ajcr0yc.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: Static functions  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Ответы Re: Static functions
Список pgsql-general
"Gurjeet Singh" <singh.gurjeet@gmail.com> writes:

> On Sat, Oct 4, 2008 at 8:49 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
>> "Gurjeet Singh" <singh.gurjeet@gmail.com> writes:
>> > Shouldn't PG make all efforts to not execute something when the result is
>> > already known?
>>
>> Not if said effort would cost more than is saved, which would be by far
>> the most likely result if we tried to cache all function results.
>>
>
> Sorry Tom, I confused STABLE  with IMMUTABLE; my bad.

No, this is equally untrue for immutable.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's On-Demand Production Tuning

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

Предыдущее
От: Jörn Heid
Дата:
Сообщение: Re: Standalone Windows Installation
Следующее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: Static functions