Closing all existing PostgreSQL database connections - Mailing list pgsql-jdbc

From Norbert Radyk
Subject Closing all existing PostgreSQL database connections
Date
Msg-id 9810300235.20070507091045@wp.pl
Whole thread Raw
Responses Re: Closing all existing PostgreSQL database connections  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-jdbc
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


pgsql-jdbc by date:

Previous
From: "roman"
Date:
Subject: postgresql-8.2-504.jdbc4.jar and backslash
Next
From: Altaf Malik
Date:
Subject: Re: postgresql-8.2-504.jdbc4.jar and backslash