Skip site navigation (1) Skip section navigation (2)

Re: Sketch of extending error handling for subtransactions in functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org,Thomas Hallgren <thhal(at)mailblocks(dot)com>,Guy Decoux <ts(at)moulon(dot)inra(dot)fr>
Subject: Re: Sketch of extending error handling for subtransactions in functions
Date: 2004-07-29 14:47:55
Message-ID: 14071.1091112475@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2004-07-29 14:49:46
Subject: Re: [HACKERS] win32 crash in initdb
Previous:From: Peter EisentrautDate: 2004-07-29 14:44:16
Subject: Re: Sketch of extending error handling for subtransactions in functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group