Re: killing idle postgres instances - Mailing list pgsql-jdbc

From Marcus Andree S. Magalhaes
Subject Re: killing idle postgres instances
Date
Msg-id 64054.200.174.148.100.1076024263.squirrel@webmail.webnow.com.br
Whole thread Raw
In response to Re: killing idle postgres instances  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
I'll clean it up a bit and make an as-similar-as-possible tomorrow morning.
It's a relatively large package with lots of classes and internal calls
but 90% of the code has nothing to do with the database.

> Marcus,
>
> Can we see the code, sometimes a second set of eyes helps.
>
> Dave
> On Thu, 2004-02-05 at 17:56, Marcus Andree S. Magalhaes wrote:
>> Thanks, Tom,
>>
>> but the connections are closed by a finally clause.
>> And, besides, when the vm exits, all tcp/ip connections should be
>> closed...
>>
>>
>> > "Marcus Andree S. Magalhaes" <marcus.magalhaes@vlinfo.com.br>
>> writes:
>> >> We have a java program scheduled to run a few times in an hour and
>> the server backend keeps running when the java program exits.
>> >
>> > That means you're not closing the connection.  Fix your client.
>> >
>> >             regards, tom lane
>>
>>
>>
>>
>> ---------------------------(end of
>> broadcast)--------------------------- TIP 5: Have you checked our
>> extensive FAQ?
>>
>>                http://www.postgresql.org/docs/faqs/FAQ.html
>>
> --
> Dave Cramer
> 519 939 0336
> ICQ # 14675561




pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: killing idle postgres instances
Next
From: Jan Oksfeldt Jonasen
Date:
Subject: ResultSet construction and byte arrays