Philip Warner <pjw(at)rhyme(dot)com(dot)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