Re: Error handling in plperl and pltcl

From: Richard Huxton <dev(at)archonet(dot)com>
To: Thomas Hallgren <thhal(at)mailblocks(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, James William Pye <flaw(at)rhid(dot)com>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Error handling in plperl and pltcl
Date: 2004-12-01 09:34:50
Message-ID: 41AD903A.2040102@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2004-12-01 09:56:45 Re: Error handling in plperl and pltcl
Previous Message Chris Green 2004-12-01 09:33:18 Re: [HACKERS] Adding Reply-To: <listname> to Lists configuration ...