X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D2BC19FA159 for ; Tue, 9 May 2006 20:29:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 72018-07 for ; Tue, 9 May 2006 20:29:25 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by postgresql.org (Postfix) with ESMTP id A21B69F9DCD for ; Tue, 9 May 2006 20:29:25 -0300 (ADT) Received: by wx-out-0102.google.com with SMTP id s13so1183995wxc for ; Tue, 09 May 2006 16:29:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=OwxzrqB9Z6EPP30C/TLYYG7UQ1wJbER6UnaMWHzQ/IrgW2VNjs3pws03LKxKwWykU8g6ZIANugvjfhqzxzXKC1bpygjfhHNjEuSkQFIC37uGsY77+rmO3m2KfMrl/B7x2Oat4sFH68Y7wtpMPwbMYGW58xtqaAFGX8q1SH7e8kA= Received: by 10.70.52.19 with SMTP id z19mr4670249wxz; Tue, 09 May 2006 16:29:24 -0700 (PDT) Received: by 10.70.80.16 with HTTP; Tue, 9 May 2006 16:29:24 -0700 (PDT) Message-ID: <1d219a6f0605091629o22f8bd34i477390d1ea8b73bd@mail.gmail.com> Date: Tue, 9 May 2006 19:29:24 -0400 From: "Chris Hoover" To: pgsql-odbc@postgresql.org Subject: Terminating Idle Connections MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_56926_21810099.1147217364249" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/17 X-Sequence-Number: 7688 ------=_Part_56926_21810099.1147217364249 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Is there a way inside of Postgresql to automatically terminate idle connections? I would like to terminate any connection to my database that has not has any activity for a specified period of time. I would like to b= e able to do this despite the state of the connection (the majority of my truly idle connections show "idle in transaction" in the process table). I would love for the db engine to do this, but if it can't, is there an easy way to do this outside the database with some sort of script? If this is not possible, would there be a possibility of it being added to = a future version? thanks, Chris RH 4.0 AS PostgreSQL 8.1.3 ------=_Part_56926_21810099.1147217364249 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Is there a way inside of Postgresql to automatically terminate idle connect= ions?  I would like to terminate any connection to my database that ha= s not has any activity for a specified period of time.  I would like t= o be able to do this despite the state of the connection (the majority of m= y truly idle connections show "idle in transaction" in the proces= s table).  I would love for the db engine to do this, but if it can't,= is there an easy way to do this outside the database with some sort of scr= ipt?

If this is not possible, would there be a possibility of it being a= dded to a future version?

thanks,

Chris

RH 4.0 AS
P= ostgreSQL 8.1.3
------=_Part_56926_21810099.1147217364249--