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 DFA4ED1B443 for ; Mon, 29 Dec 2003 00:53:31 +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 25875-01 for ; Sun, 28 Dec 2003 20:52:45 -0400 (AST) Received: from calma.pair.com (calma.pair.com [209.68.1.95]) by svr1.postgresql.org (Postfix) with SMTP id A5E93D1B43C for ; Sun, 28 Dec 2003 20:52:41 -0400 (AST) Received: (qmail 60107 invoked by uid 3059); 29 Dec 2003 00:52:44 -0000 Date: Sun, 28 Dec 2003 19:52:44 -0500 From: "Chad N. Tindel" To: pgsql-admin@postgresql.org Subject: Dropping a DB while it is in use? Message-ID: <20031229005244.GA59513@calma.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/14 X-Sequence-Number: 11877 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. Thanks, Chad