Alexey Klyukin <alexk(at)commandprompt(dot)com> writes:
> On Jul 21, 2009, at 6:39 PM, Alvaro Herrera wrote:
>> Hmm, in plperl_exec_callback(), does the global variable work if you
>> call one plperl function from another?
> PL/Perl functions can't call each other directly.
Still, it's poor style to rely on the global variable when you don't
have to. Use the error_context.arg field to pass it.
regards, tom lane