Re: IMMUTABLE?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: IMMUTABLE?
Дата
Msg-id 11508.1147786394@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: IMMUTABLE?  (Joachim Wieland <joe@mcknight.de>)
Ответы Re: IMMUTABLE?  (Joachim Wieland <joe@mcknight.de>)
Список pgsql-performance
Joachim Wieland <joe@mcknight.de> writes:
> So irrespective of caching to prevent evaluation across statements, within a
> single statement, is there a strong reason why for example in
> WHERE col = f(const) with f() declared as immutable or stable and without an
> index on col, f() still gets called for every row? Or is this optimization
> just not done yet?

The above statement is not correct, at least not for immutable functions.

            regards, tom lane

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

Предыдущее
От: "Jignesh K. Shah"
Дата:
Сообщение: Re: Pgsql (and mysql) benchmark on T2000/Solaris and some
Следующее
От: Arjen van der Meijden
Дата:
Сообщение: Re: Pgsql (and mysql) benchmark on T2000/Solaris and some