Re: Custom cache implemented in a postgresql C function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Custom cache implemented in a postgresql C function
Дата
Msg-id 23525.1287672516@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Custom cache implemented in a postgresql C function  (Alban Hertroys <dalroi@solfertje.student.utwente.nl>)
Список pgsql-general
Alban Hertroys <dalroi@solfertje.student.utwente.nl> writes:
> That sounds like your function would classify as a STABLE function
> within Postgres, did you define it as such? Postgres will cache the
> results of STABLE (and IMMUTABLE) functions all by itself, in which
> case you may not need your custom cache.

Uh, no it won't.  It will pre-evaluate immutable functions that are
called with constant arguments, which is not the same thing at all.

            regards, tom lane

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

Предыдущее
От: Aljoša Mohorović
Дата:
Сообщение: Re: postgres services on amazon
Следующее
От: Tom Lane
Дата:
Сообщение: Re: full vacuum cancelation