Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 5864F9FB4F7 for ; Mon, 7 May 2007 04:17:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 87049-10 for ; Mon, 7 May 2007 04:17:28 -0300 (ADT) X-Greylist: delayed 00:06:40.350374 by SQLgrey-1.7.5 Received: from mx1.wp.pl (mx1.wp.pl [212.77.101.5]) by postgresql.org (Postfix) with ESMTP id B6A1D9FB48E for ; Mon, 7 May 2007 04:17:27 -0300 (ADT) Received: (wp-smtpd smtp.wp.pl 22294 invoked from network); 7 May 2007 09:10:45 +0200 Received: from ga235.internetdsl.tpnet.pl (HELO KOALA) (fragiel@[80.53.52.235]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with AES256-SHA encrypted SMTP for ; 7 May 2007 09:10:45 +0200 Date: Mon, 7 May 2007 09:10:45 +0200 From: Norbert Radyk X-Mailer: The Bat! (v2.11.02) Reply-To: Norbert Radyk X-Priority: 3 (Normal) Message-ID: <9810300235.20070507091045@wp.pl> To: pgsql-jdbc@postgresql.org Subject: Closing all existing PostgreSQL database connections MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200705/18 X-Sequence-Number: 17008 Hi, I've got a question about PostgreSQL JDBC API. Is there any way to close all existing & open connections to the particular database. I mean the connections made by some external programs too. I simply need to drop the database to which there are some open external connections. I cannot get the java.sql.Connection object in order to close the connection, but maybe there is some other way to do this? Regards, Norbert