Re: elog in 7.4

Поиск
Список
Период
Сортировка
Искать
От
Thomas Hallgren
Тема
Re: elog in 7.4
Дата
Msg-id
4152AF28.2050509@mailblocks.com
Ответ на
Re: elog in 7.4 (Laszlo Hornyak)
Список
Дерево обсуждения
elog in 7.4 Laszlo Hornyak <kocka@forgeahead.hu>
Re: elog in 7.4 Tom Lane <tgl@sss.pgh.pa.us>
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


В списке pgsql-hackers по дате отправления
От: Thomas Hallgren
Дата:
Сообщение: Use of zlib
От: Peter Eisentraut
Дата:
Сообщение: Re: Use of zlib
FAQ