Re: plperl: Undefined subroutine &main::mksafefunc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: plperl: Undefined subroutine &main::mksafefunc
Date: 2004-11-21 08:16:36
Message-ID: 5762.1101024996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Michael Fuhr <mike(at)fuhr(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2004-11-21 08:32:12 Re: plperl: Undefined subroutine &main::mksafefunc
Previous Message Michael Fuhr 2004-11-21 07:47:41 plperl: Undefined subroutine &main::mksafefunc