Jim Nasby <Jim(at)Nasby(dot)net> writes:
> (looking at original case)... the original bug wasn't actually
> recursive.
No, there are two different cases being dealt with here. If the first
call of an expression results in an error, and then we come back and try
to re-use the expression state tree, we can have trouble because the
state tree contains partially-updated internal state for the called
function. This doesn't require any recursion but it leads to pretty
much the same problems as the recursive case.
regards, tom lane
In response to
pgsql-hackers by date
| Next: | From: Jeff Davis | Date: 2010-11-01 18:19:14 |
| Subject: Re: revision of todo: NULL for ROW variables |
| Previous: | From: Andrew Dunstan | Date: 2010-11-01 16:02:20 |
| Subject: Re: why does plperl cache functions using just a bool for
is_trigger |