pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: David Hustace <david@opennms.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Socket read fails
Date: Thu, 26 Jan 2006 12:30:08 +1300
Message-ID: <43D80A00.2070505@opencloud.com> (raw)
In-Reply-To: <9536F7D5-F299-42A9-8A24-5B6A99352FD3@opennms.org>
References: <84d3067d0601151935l581b07f1nfa231483a900518f@mail.gmail.com>
	<84d3067d0601242203w6cef6a9dt90fb8c45c55b2798@mail.gmail.com>
	<A174A100-FBCC-4513-8D5F-0FF5C2AF961B@opennms.org>
	<43D7F7C0.20501@opencloud.com>
	<9536F7D5-F299-42A9-8A24-5B6A99352FD3@opennms.org>

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



view thread (8+ messages)  latest in thread

Message-ID: <43D80A00.2070505@opencloud.com>
Permalink:  ../43D80A00.2070505@opencloud.com/
Also on:    postgresql.org/message-id/43D80A00.2070505@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, david@opennms.org
  Subject: Re: Socket read fails
  In-Reply-To: <43D80A00.2070505@opencloud.com>
  References: <84d3067d0601151935l581b07f1nfa231483a900518f@mail.gmail.com> <84d3067d0601242203w6cef6a9dt90fb8c45c55b2798@mail.gmail.com> <A174A100-FBCC-4513-8D5F-0FF5C2AF961B@opennms.org> <43D7F7C0.20501@opencloud.com> <9536F7D5-F299-42A9-8A24-5B6A99352FD3@opennms.org> <43D80A00.2070505@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox