Re: elog in 7.4

From: Thomas Hallgren <thhal(at)mailblocks(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: elog in 7.4
Date: 2004-09-23 11:10:32
Message-ID: 4152AF28.2050509@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Laszlo,

> Tom, is there other way in pg 7.4 than backporting PG_TRY? It seems a lot
> of work.
>
I have the needed macros implemented for 7.4 in PL/Java. Look in
src/C/pljava.h.

The exception handling in versions prior to 8.0 is very rudimentary
though. There's (as you already discovered) no way to find the cause of
an error. The error is reported to the caller and discarded before the
longjmp occurs.

This *much* better in 8.0. Thank's Tom.

Regards,

Thomas Hallgren

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2004-09-23 12:12:29 Re: Use of zlib
Previous Message Thomas Hallgren 2004-09-23 11:02:17 Use of zlib