Re: Socket read fails

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: David Hustace <david(at)opennms(dot)org>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Socket read fails
Date: 2006-01-25 23:30:08
Message-ID: 43D80A00.2070505@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Hustace 2006-01-26 01:18:07 Re: Socket read fails
Previous Message David Hustace 2006-01-25 23:18:02 Re: Socket read fails