JDBC problem - again

Поиск
Список
Период
Сортировка
От Rachel Greenham
Тема JDBC problem - again
Дата
Msg-id 379C1DE6.7FAE7173@enlarion.demon.co.uk
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Ansley, Michael"
Дата:
Сообщение: RE: [INTERFACES] More VB
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] transactions in libpq++ require new connection?