pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chad N. Tindel <chad@tindel.net>
To: pgsql-admin@postgresql.org
Subject: Dropping a DB while it is in use?
Date: Sun, 28 Dec 2003 19:52:44 -0500
Message-ID: <20031229005244.GA59513@calma.pair.com> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <20031229005244.GA59513@calma.pair.com>
Permalink:  ../20031229005244.GA59513@calma.pair.com/
Also on:    postgresql.org/message-id/20031229005244.GA59513@calma.pair.com

 · 

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-admin@postgresql.org
  Cc: chad@tindel.net
  Subject: Re: Dropping a DB while it is in use?
  In-Reply-To: <20031229005244.GA59513@calma.pair.com>
  References: <20031229005244.GA59513@calma.pair.com>

* 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