Re: Connection Timeout

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Anagha Joshi" <ajoshi(at)nulinkinc(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Connection Timeout
Date: 2003-08-18 13:23:43
Message-ID: 21967.1061213023@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Anagha Joshi" <ajoshi(at)nulinkinc(dot)com> writes:
> Consider the following:
> I opened 5 connections to the Postgres Server and did not use those
> connections at all.i.e. I did not perform any activity on the any
> databases.
> What happens to those connections? Are they still Active after long
> duration? Or any session timeout related parameter has to be configured?

There is no connection timeout. I do not believe there should be one,
at least not on the server side.

We do use "TCP keepalive" mode, which means that if a remote machine
stops being contactable, connections from it will be closed after a
timeout. But that doesn't apply for local connections.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sam Barnett-Cormack 2003-08-18 22:51:47 Re: dbase ODBC error
Previous Message Mendola Gaetano 2003-08-18 12:37:40 Re: get current queries