Re: Using JDBC and libpq in the same process - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Using JDBC and libpq in the same process
Date
Msg-id 1065702730.2159.88.camel@localhost.localdomain
Whole thread Raw
In response to Using JDBC and libpq in the same process  (Nicola Pero <nicola@brainstorm.co.uk>)
List pgsql-jdbc
Nicola,

No, the driver does not use libpq it uses it's own socket code.

Dave
On Thu, 2003-10-09 at 07:30, Nicola Pero wrote:
> Hi,
>
> I have to work on some software which is using JDBC and libpq (via JNI) in
> the same process to connect to the same Postgres database.  The software
> is heavily multithreaded.
>
> When running under heavy loads and accessing the database under JDBC and
> libpq at the same time, we get obscure JVM crashes.
>
> Before I even start debugging this, I wanted to ask - is there any known
> fundamental reason why JDBC and libpq should *not* be used at the same
> time in the same process ?
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
--
Dave Cramer <Dave@micro-automation.net>


pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: DatabaseMetaData.getTypeInfo() question
Next
From: shyamperi@davlin.co.in
Date:
Subject: Serious Problem with the windows and postgres configuration