pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas F.O'Connell <tfo@sitening.com>
To: PgSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users
Date: Fri, 25 Feb 2005 10:30:31 -0600
Message-ID: <d9cf51e17973bcee0b49047396d282d0@sitening.com> (raw)

pkill -f 'postgres: postgres <database>'

Much cleaner than the previous recipe for those with pkill.

-tfo

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005




view thread (5+ messages)  latest in thread

Message-ID: <d9cf51e17973bcee0b49047396d282d0@sitening.com>
Permalink:  ../d9cf51e17973bcee0b49047396d282d0@sitening.com/
Also on:    postgresql.org/message-id/d9cf51e17973bcee0b49047396d282d0@sitening.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: tfo@sitening.com
  Subject: Re: dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users
  In-Reply-To: <d9cf51e17973bcee0b49047396d282d0@sitening.com>
  References: <d9cf51e17973bcee0b49047396d282d0@sitening.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