JDBC problem - again - Mailing list pgsql-interfaces

From Rachel Greenham
Subject JDBC problem - again
Date
Msg-id 379C1DE6.7FAE7173@enlarion.demon.co.uk
Whole thread Raw
List 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:

Previous
From: "Ansley, Michael"
Date:
Subject: RE: [INTERFACES] More VB
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] transactions in libpq++ require new connection?