Re: Functions too slow, even with iscachable? - Mailing list pgsql-sql

From Tom Lane
Subject Re: Functions too slow, even with iscachable?
Date
Msg-id 6291.965663538@sss.pgh.pa.us
Whole thread Raw
In response to Re: Functions too slow, even with iscachable?  (Philip Warner <pjw@rhyme.com.au>)
List 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 by date:

Previous
From: Rob van der Leek
Date:
Subject: Changing user passwords
Next
From: Jie Liang
Date:
Subject: foreign key take too much time to check