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

JDBC problem - again

From: Rachel Greenham <rachel(at)enlarion(dot)demon(dot)co(dot)uk>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: JDBC problem - again
Date: 1999-07-26 08:35:50
Message-ID: 379C1DE6.7FAE7173@enlarion.demon.co.uk (view raw or flat)
Thread:
Lists: pgsql-interfaces
Peter, did you ever get around to ensuring a closed connection when a
Connection object is finalised? I've just hit the problem again, with
Postgres dying of too many open connections. I thought I'd fixed it on
my client code by always closing the Connections before they go out of
scope, but evidently not, one is hiding somewhere taking about a
fortnight to happen enough to kill Postgres, and it's going to be a
bitch to track down - and I really can't see the harm in the connection
being closed on finalise.

-- 
Rachel


pgsql-interfaces by date

Next:From: leifDate: 1999-07-26 10:55:10
Subject: [INTERFACES] Error from backend. Was: MSAccess problem deleting rows
Previous:From: Ansley, MichaelDate: 1999-07-26 07:55:40
Subject: RE: [INTERFACES] More VB

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