X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 772B9D1B47C for ; Mon, 5 Jan 2004 10:07:37 +0000 (GMT) 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 40210-08 for ; Mon, 5 Jan 2004 06:06:49 -0400 (AST) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by svr1.postgresql.org (Postfix) with ESMTP id 52D4CD1B500 for ; Mon, 5 Jan 2004 06:06:46 -0400 (AST) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id i05AAcw01093; Mon, 5 Jan 2004 11:10:39 +0100 Received: from bigfoot.com (accesspoint.mm.eutelsat.org [194.214.173.4]) by nts-03.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id i051KHR19650; Mon, 5 Jan 2004 02:20:17 +0100 Message-ID: <3FF8BEAF.4050302@bigfoot.com> Date: Mon, 05 Jan 2004 02:32:31 +0100 From: Gaetano Mendola User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031206 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Cc: "Chad N. Tindel" Subject: Re: Dropping a DB while it is in use? References: <20031229005244.GA59513@calma.pair.com> In-Reply-To: <20031229005244.GA59513@calma.pair.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/29 X-Sequence-Number: 11892 Chad N. Tindel wrote: > Is there a way to kill all the connections to a DB so that it can safely > be dropped? Given that connections to a DB can come from any number of clients, > the only way I've found to do this is to shutdown postgres, which is clearly > an unacceptable solution because it stops access to the other 50 or so databases > that are being used on the system. You can do a kill -INT to backend that are managing the connection. Regards Gaeatano Mendola