Re: FastPath blocked when ERROR is thrown

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: FastPath blocked when ERROR is thrown
Дата
Msg-id Pine.BSO.4.63.0604111756500.2028@leary2.csoft.net
обсуждение исходный текст
Ответ на FastPath blocked when ERROR is thrown  ("Yi Lin" <ylin30@cs.mcgill.ca>)
Список pgsql-jdbc

On Tue, 11 Apr 2006, Yi Lin wrote:

> I used java API FastPath.fastpath(fid, ...) to call a C function
> PGfn(conn, fid,...) in the kernal. But if there is an exception (i.e.,
> ERROR messages is thrown in the backend due to elog(ERROR, ...)), the
> FastPath.fastpath(fid, ..) is blocked and never returns.

The attached code runs fine with the cvs jdbc driver and a 8.0.7 server.
You haven't mentioned your versions, but this code hasn't changed recently
so anything relatively new should be fine.

How do you know the function is erroring out?  What does the server log
say?

Kris Jurka

Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Wei Wei"
Дата:
Сообщение: Re: Calendar vs. Timestamp
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Calendar vs. Timestamp