Re: Static functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Static functions
Дата
Msg-id 17695.1223090398@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Static functions  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Ответы Re: Static functions  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Re: Static functions  (Joseph S <jks@selectacast.net>)
Список pgsql-general
"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.

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: ST_Intersects vs. ST_Touches
Следующее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: Static functions