Re: Does IMMUTABLE have any effect on functions?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Does IMMUTABLE have any effect on functions?
Дата
Msg-id 20050303135610.GC22442@svana.org
обсуждение исходный текст
Ответ на Does IMMUTABLE have any effect on functions?  (Thomas Schoen <t.schoen@vitrado.de>)
Список pgsql-general
Lookup the docs, but IMMUTABLE and other such tags are hints to the
optimiser. If a function is immutable then the optimiser can optimise
away any invocations. If your function isn't actually immutable you've
just caused a problem.

They don't affect the actual function at all...

On Thu, Mar 03, 2005 at 02:17:17PM +0100, Thomas Schoen wrote:
> Hi,
>
> i wonder if the attribute IMMUTABLE has any effect on functions.
> Maybe its not implemented yet?

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Thomas Schoen
Дата:
Сообщение: Does IMMUTABLE have any effect on functions?
Следующее
От: Jake Stride
Дата:
Сообщение: Re: Compatible Dumps