X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3F381D1B4B2 for ; Wed, 7 Apr 2004 15:27:05 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 33913-08 for ; Wed, 7 Apr 2004 15:27:04 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 08EA3D1B459 for ; Wed, 7 Apr 2004 15:27:03 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i37IR3O4025022; Wed, 7 Apr 2004 14:27:03 -0400 (EDT) To: Theodore Petrosky Cc: postgres SQL Subject: Re: notify and leaks? In-reply-to: <20040407163019.34185.qmail@web41007.mail.yahoo.com> References: <20040407163019.34185.qmail@web41007.mail.yahoo.com> Comments: In-reply-to Theodore Petrosky message dated "Wed, 07 Apr 2004 09:30:19 -0700" Date: Wed, 07 Apr 2004 14:27:03 -0400 Message-ID: <25021.1081362423@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/58 X-Sequence-Number: 17433 Theodore Petrosky writes: > After all this conversation.. I guess my question is.. > am I leaking 'listens' if I don't close them properly? No. It may take awhile for the backend to realize the connection is dead (this is driven by RFC-specified TCP timeouts). Once it does, though, it will clean up before exiting. regards, tom lane