Re: C exception code - Mailing list pgsql-hackers

From Chris Bitmead
Subject Re: C exception code
Date
Msg-id 39584D8F.73D1DBF@nimrod.itg.telecom.com.au
Whole thread Raw
In response to C exception code  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:
> 
> Are we interested in adding Try/Catch exception code to PostgreSQL.
> This looks interesting:
> 
>         http://www.cs.berkeley.edu/~amc/cexcept/

How tricky is the error handling in Postgres?

As an aside, I have just started working on a Java project, nearly done
for a company where they have not used the Java exception model. I.e.
there are error codes, setErrorCode, and ifError everywhere. A bigger
mess you will not see. So I'm partial to a decent exception model, and
might even use the above in a project of my own.


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Big 7.1 open items
Next
From: Giles Lean
Date:
Subject: Re: Is *that* why debugging backend startup is so hard!?