Skip site navigation (1) Skip section navigation (2)

Closing all existing PostgreSQL database connections

From: Norbert Radyk <fragiel(at)wp(dot)pl>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Closing all existing PostgreSQL database connections
Date: 2007-05-07 07:10:45
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc

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

Regards, Norbert


pgsql-jdbc by date

Next:From: Altaf MalikDate: 2007-05-07 07:20:22
Subject: Re: postgresql-8.2-504.jdbc4.jar and backslash
Previous:From: romanDate: 2007-05-07 06:15:25
Subject: postgresql-8.2-504.jdbc4.jar and backslash

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group