Re: Error handling in plperl and pltcl - Mailing list pgsql-hackers

From Thomas Hallgren
Subject Re: Error handling in plperl and pltcl
Date
Msg-id 41ADDA0B.8050506@mailblocks.com
Whole thread Raw
In response to Re: Error handling in plperl and pltcl  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
Jan Wieck wrote:

> This all would mean that however deeply nested a function call tree, 
> it would unwind and rollback everything up to the outermost catch. If 
> there is no catch used, no subtransactions are created and the 
> unwinding goes all the way up to the statement. If catch is used but 
> no spi access performed inside, no subtransaction overhead either.

Yes, this makes a lot of sense. No overhead unless you want to. Way to go.

I wish I could do the same in PL/Java.

Regards,
Thomas Hallgren



pgsql-hackers by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: [GENERAL] Adding Reply-To: to Lists configuration ...
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Adding Reply-To: to Lists configuration ...