Re: plperl: Undefined subroutine &main::mksafefunc - Mailing list pgsql-bugs

From Tom Lane
Subject Re: plperl: Undefined subroutine &main::mksafefunc
Date
Msg-id 5762.1101024996@sss.pgh.pa.us
Whole thread Raw
In response to plperl: Undefined subroutine &main::mksafefunc  (Michael Fuhr <mike@fuhr.org>)
Responses Re: plperl: Undefined subroutine &main::mksafefunc
List pgsql-bugs
Michael Fuhr <mike@fuhr.org> writes:
> If spi_exec_query() fails in a plperl function, subsequent calls
> to plperl or plperlu functions that hadn't been previously loaded
> will fail with "Undefined subroutine &main::mksafefunc".

Yeah ... there are other ways to cause this but the short of it is
that plperl's error handling is entirely broken.  See nearby rant
in pghackers.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Michael Fuhr
Date:
Subject: plperl: Undefined subroutine &main::mksafefunc
Next
From: Michael Fuhr
Date:
Subject: Re: plperl: Undefined subroutine &main::mksafefunc