From: | Dave Cramer <Dave(at)micro-automation(dot)net> |
---|---|
To: | Nicola Pero <nicola(at)brainstorm(dot)co(dot)uk> |
Cc: | "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Using JDBC and libpq in the same process |
Date: | 2003-10-09 12:32:10 |
Message-ID: | 1065702730.2159.88.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers 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(at)postgresql(dot)org
>
--
Dave Cramer <Dave(at)micro-automation(dot)net>
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-10-09 13:31:40 | Re: Parallel postgresql |
Previous Message | shyamperi | 2003-10-09 12:16:16 | Serious Problem with the windows and postgres configuration |
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2003-10-09 12:54:56 | Re: DatabaseMetaData.getTypeInfo() question |
Previous Message | Dave Cramer | 2003-10-09 12:30:45 | Re: DatabaseMetaData.getTypeInfo() question |