Re: FastPath blocked when ERROR is thrown - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: FastPath blocked when ERROR is thrown
Date
Msg-id Pine.BSO.4.63.0604111756500.2028@leary2.csoft.net
Whole thread Raw
In response to FastPath blocked when ERROR is thrown  ("Yi Lin" <ylin30@cs.mcgill.ca>)
List 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

Attachment

pgsql-jdbc by date:

Previous
From: "Wei Wei"
Date:
Subject: Re: Calendar vs. Timestamp
Next
From: Kris Jurka
Date:
Subject: Re: Calendar vs. Timestamp