Re: Functions too slow, even with iscachable?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Functions too slow, even with iscachable?
Дата
Msg-id 6291.965663538@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Functions too slow, even with iscachable?  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-sql
Philip Warner <pjw@rhyme.com.au> writes:
> At 10:58 7/08/00 -0400, Tom Lane wrote:
>> Looks like we need to teach the optimizer that expressions involving
>> params can be treated like simple params for the purposes of
>> optimization.

> So long as the function is cacheable...

Yes, of course --- but the same problem currently arises for cases like
"var = param + 1" ...
        regards, tom lane


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

Предыдущее
От: Rob van der Leek
Дата:
Сообщение: Changing user passwords
Следующее
От: Jie Liang
Дата:
Сообщение: foreign key take too much time to check