Re: exception handling in plperlu

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Jasbinder Singh Bali <jsbali(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: exception handling in plperlu
Date: 2007-03-16 12:16:37
Message-ID: 20070316121636.GA29255@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Mar 15, 2007 at 10:06:06PM -0400, Jasbinder Singh Bali wrote:
> How about using a try catch block?
> isn't that more efficient that eval?

Umm, eval is perl's equivalent of try/catch. There is no other way.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jorge Godoy 2007-03-16 12:37:42 Re: pg_dumpall and version confusion
Previous Message Dany DeBontridder 2007-03-16 10:39:38 Dump a function