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

From Richard Huxton
Subject Re: Error handling in plperl and pltcl
Date
Msg-id 41AD903A.2040102@archonet.com
Whole thread Raw
In response to Error handling in plperl and pltcl  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Error handling in plperl and pltcl
List pgsql-hackers
Thomas Hallgren wrote:
> Richard Huxton wrote:
> 
>> But is the problem not that forgetting to use SAVEPOINT can get us in 
>> trouble with clearing up after an exception? 
> 
> I fail to see how that's different from forgetting to use pgtry instead 
> of try.

It feels more distinct to me. I'll grant you I'm only a sample size of 1 
though.

--  Richard Huxton  Archonet Ltd


pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: Error handling in plperl and pltcl
Next
From: Simon Riggs
Date:
Subject: Re: nodeAgg perf tweak