David Fetter <[EMAIL PROTECTED]> writes:
> On Tue, Oct 18, 2005 at 02:13:14PM -0300, Tom Lane wrote:
>> Log Message:
>> -----------
>> Code review for spi_query/spi_fetchrow patch: handle errors sanely,
>> avoid leaking memory.  I would add a regression test for error
>> handling except it seems eval{} can't be used in unprivileged plperl
>> :-(

> What would you be using the eval{} to do?

Catch the error inside the Perl function.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to