Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net> writes:
> On 05/10/07 21:24, Tom Lane wrote:
>> My instinctive CS-major reply to that is "only if you've found a
>> solution to the halting problem". However, it's possible that we could
>> detect this case for a useful subset of real-world functions ... not
>> sure offhand what could be covered.
> If there are no INSERT, UPDATE or DELETE statements in the function?
Nor any function calls ... which leaves about nothing ...
regards, tom lane