pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Norbert Radyk <fragiel@wp.pl>
To: pgsql-jdbc@postgresql.org
Subject: Closing all existing PostgreSQL database connections
Date: Mon, 7 May 2007 09:10:45 +0200
Message-ID: <9810300235.20070507091045@wp.pl> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <9810300235.20070507091045@wp.pl>
Permalink:  ../9810300235.20070507091045@wp.pl/
Also on:    postgresql.org/message-id/9810300235.20070507091045@wp.pl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: fragiel@wp.pl
  Subject: Re: Closing all existing PostgreSQL database connections
  In-Reply-To: <9810300235.20070507091045@wp.pl>
  References: <9810300235.20070507091045@wp.pl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox