-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
"Worky Workerson" <[EMAIL PROTECTED]> wrote:
> This is probably a really basic question, but how do I trap when
> spi_query_exec returns an error in PL/Perl?
Tom Lane replied:
> I think you don't, without using plperlu :-(. Unless perhaps recent
>
"Worky Workerson" <[EMAIL PROTECTED]> writes:
> This is probably a really basic question, but how do I trap when
> spi_query_exec returns an error in PL/Perl?
I think you don't, without using plperlu :-(. Unless perhaps recent
Perls have added an error trapping construct that's separate from eval
This is probably a really basic question, but how do I trap when
spi_query_exec returns an error in PL/Perl? I would expect to be able
to use the return value to determine an error condition, however I get
the message:
ERROR: error from Perl function: relation "foo" does not exist at line 7.
w