how to PG close session

From: "Little, Douglas" <DOUGLAS(dot)LITTLE(at)orbitz(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: how to PG close session
Date: 2010-10-01 13:45:00
Message-ID: 8585BA53443004458E0BAA6134C5A7FB19520849@EGEXCMB01.oww.root.lcl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

We have a number of long running java/jdbc applications that wait for events and then extract data from PG.
During the time the apps are running, The app is maintaining active connections to PG.
Is there a way that we can close/terminate the pg session so that the connections don't consume resource unnecessarily.

Thanks

Doug Little

Sr. Data Warehouse Architect | Enterprise Data Management | Orbitz Worldwide
500 W. Madison, Suite 1000 Chicago IL 60661| Office 312.260.2588 | Fax 312.894.5164 | Cell 847-997-5741
Douglas(dot)Little(at)orbitz(dot)com<mailto:Douglas(dot)Little(at)orbitz(dot)com>
[cid:image001(dot)jpg(at)01CB6144(dot)EEEEAA00] orbitz.com<http://www.orbitz.com/> | ebookers.com<http://www.ebookers.com/> | hotelclub.com<http://www.hotelclub.com/> | cheaptickets.com<http://www.cheaptickets.com/> | ratestogo.com<http://www.ratestogo.com/> | asiahotels.com<http://www.asiahotels.com/>

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Grittner 2010-10-01 14:01:09 Re: how to PG close session
Previous Message Tom Lane 2010-10-01 13:13:57 Re: could not connect to server: Connection refused (0x0000274D/10061)