Re: [GENERAL] Trapping PL/Perl spi_query_exec errors

2006-11-23 Thread Greg Sabino Mullane
-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 >

Re: [GENERAL] Trapping PL/Perl spi_query_exec errors

2006-11-22 Thread Tom Lane
"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