Re: Socket read fails - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Socket read fails
Date
Msg-id 43D80A00.2070505@opencloud.com
Whole thread Raw
In response to Re: Socket read fails  (David Hustace <david@opennms.org>)
Responses Re: Socket read fails  (David Hustace <david@opennms.org>)
List pgsql-jdbc
David Hustace wrote:

>> Can you reproduce this with a recent driver and loglevel=2 (append  it
>> as a URL parameter to your JDBC URL) and send me the resulting  debug
>> output offlist? It sounds like it might be hard to trigger  though :(
>
>
> Sure.  I already have that enabled.  Finding the output is tricky.

The debug output should be going to the DriverManager log stream, or
stderr if that's not set.

> Also, for future reference, can you tell me if the call to
> PGSimpleDataSource.getConnection() is thread safe?

It does not change the state of the datasource and just delegates to
DriverManager to do the real work, so it should be threadsafe.

-O

pgsql-jdbc by date:

Previous
From: David Hustace
Date:
Subject: Re: Socket read fails
Next
From: David Hustace
Date:
Subject: Re: Socket read fails