Re: Does IMMUTABLE property propagate?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Does IMMUTABLE property propagate?
Дата
Msg-id 4150.1267911115@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Does IMMUTABLE property propagate?  (Petru Ghita <petrutz@venaver.info>)
Ответы Re: Does IMMUTABLE property propagate?  (Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org>)
Список pgsql-sql
Petru Ghita <petrutz@venaver.info> writes:
> "..immediately replaced with the function value" doesn't mean that the
> results of a previously evaluated function for the same parameters are
> stored and reused?

No, it means what it says: the function is executed once and replaced
with a constant representing the result value.
        regards, tom lane


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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Drop all constraints
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: Create functions using a function