Re: Sketch of extending error handling for subtransactions in functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Sketch of extending error handling for subtransactions in functions
Date
Msg-id 14071.1091112475@sss.pgh.pa.us
Whole thread Raw
In response to Re: Sketch of extending error handling for subtransactions in functions  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Sketch of extending error handling for subtransactions in functions
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> PL/sh is OK, but both PL/Ruby and PL/Java play around with Warn_restart.  

Are they using it to fake try/catch behavior?  If so, see later thread
about moving to a simple set of try/catch macros.

I currently have this up and seemingly working for the main backend,
but I still need to look at revising pltcl and plpython to match.
I think that will be straightforward, but you never know till it's
done...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Sketch of extending error handling for subtransactions in functions
Next
From: Tom Lane
Date:
Subject: Re: win32 crash in initdb