Re: try/catch macros for Postgres backend - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: try/catch macros for Postgres backend
Date
Msg-id Pine.GSO.4.58.0407290657060.25885@chailly99
Whole thread Raw
In response to try/catch macros for Postgres backend  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Does anyone have a problem with this macro syntax?  The try/catch names
> are stolen from Java, so I'm figuring they won't terribly surprise any
> modern programmer, but I'm open to different names if anyone has a
> better idea.

I have done such a macro hiding of setjmp/longjmp for a math library that
have been rused in the polylib library. Exceptions are important in an
integer linear algebra library because on overflows the co;putations are
false. You may have a look at the stuff if you want by googling with
polylib.

-- 
Fabien Coelho - coelho@cri.ensmp.fr


pgsql-hackers by date:

Previous
From: Coloring Graph
Date:
Subject: 7.5 devel initdb failure
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Quick coding question with acl fixes