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

Re: try/catch macros for Postgres backend

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: try/catch macros for Postgres backend
Date: 2004-07-29 05:04:39
Message-ID: Pine.GSO.4.58.0407290657060.25885@chailly99 (view raw, whole thread or download thread mbox)
Lists: 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

Fabien Coelho - coelho(at)cri(dot)ensmp(dot)fr

In response to

pgsql-hackers by date

Next:From: Fabien COELHODate: 2004-07-29 05:22:59
Subject: Re: pgxs: build infrastructure for extensions v4
Previous:From: Christopher BrowneDate: 2004-07-29 05:03:29
Subject: Re: try/catch macros for Postgres backend

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