pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bosco Rama <postgres@boscorama.com>
To: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: unexpected close
Date: Mon, 11 Nov 2013 09:25:05 -0800
Message-ID: <528112F1.70005@boscorama.com> (raw)
In-Reply-To: <527E0701.2050807@hogranch.com>
References: <527E0701.2050807@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On 11/09/13 01:57, John R Pierce wrote:
> but it looks like the app was packaged with a rather old JDBC, 
> postgresql-8.3-604.jdbc3.jar
> our java apps do only the most basic sql APIs, all data is numbers and 
> varchar, this jdbc worked fine with older versions.
> 
> is this a error likely because of this old JDBC with the newer 9.2 server?

Just a random observation (and probably wrong for this, but ...) we
used to see these sorts of errors within ecpg and/or libpq when a
connection got used by multiple threads simultaneously.  But, IIRC, PG
jdbc connections are thread-safe.  Unless they weren't in the '8.3' era.

(Relatively new to PG's jdbc so take with appropriately sized grain of
salt :-p ).

Bosco.


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (3+ messages)

Message-ID: <528112F1.70005@boscorama.com>
Permalink:  ../528112F1.70005@boscorama.com/
Also on:    postgresql.org/message-id/528112F1.70005@boscorama.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: postgres@boscorama.com, pierce@hogranch.com
  Subject: Re: unexpected close
  In-Reply-To: <528112F1.70005@boscorama.com>
  References: <527E0701.2050807@hogranch.com> <528112F1.70005@boscorama.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