Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group