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

From Nicola Pero
Subject Using JDBC and libpq in the same process
Date
Msg-id Pine.LNX.4.44.0310091220310.5308-100000@nicola.brainstorm.co.uk
Whole thread Raw
Responses Re: Using JDBC and libpq in the same process
List pgsql-jdbc
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 ?


pgsql-jdbc by date:

Previous
From: Roger Bjärevall
Date:
Subject: DatabaseMetaData.getTypeInfo() question
Next
From: Dave Cramer
Date:
Subject: Re: DatabaseMetaData.getTypeInfo() question