Received: from montseny-f.ibernet.com ([212.106.195.71]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f917l1373300 for ; Mon, 1 Oct 2001 03:47:03 -0400 (EDT) (envelope-from toomany@dorna.es) Received: from klingon.dorna.es ([212.163.226.3]) by montseny-f.ibernet.com (Post.Office MTA v3.5.3 release 223 ID# 0-70794U9000L900S0V35) with ESMTP id com; Mon, 1 Oct 2001 09:41:55 +0200 Received: from toomany by klingon.dorna.es with local (Exim 3.32 #1 (Debian)) id 15nxpV-0004jB-00; Mon, 01 Oct 2001 09:49:33 +0200 Date: Mon, 1 Oct 2001 09:49:31 +0200 From: Manuel Trujillo To: Bruce Momjian Cc: AdminPostgres Subject: Re: about the time of a process Message-ID: <20011001094931.B18005@klingon.dorna.es> References: <20010928142037.A32752@klingon.dorna.es> <200109291828.f8TIS8628799@candle.pha.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200109291828.f8TIS8628799@candle.pha.pa.us> User-Agent: Mutt/1.3.22i X-Archive-Number: 200110/2 X-Sequence-Number: 2250 On Sat, Sep 29, 2001 at 02:28:08PM -0400, Bruce Momjian wrote: > > 7.2 will have EXPLAIN ANALYZE. > > Another question... How many take to time a backend process if > > it haven't gos "traffic" (or run any query), to dead?? > > Have postgresql a SET command for determinate this question? > > I will apologize about my bad english... sorry please. Of course... Well, we have a php compiled with Apache. It make a persistent connection with the DB. But, if this connection is not clossed by the php, how many time is take for postgres to close the bakcend opened by the php thread? Or by the another way, if I open a backend via psql connection, and I forget this and go out to my home... I think the postgresql have a mechanism to close the connection if haven't got any "traffic" beetwen the psql client and the server. I don't know: 1- If postgresql server have this propertie. 2- If have this propertie, how work. -- Manuel Trujillo manueltrujillo@dorna.es Technical Engineer http://www.motograndprix.com Dorna Sports S.L. +34 93 4702864