pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gourish Singbal <gourish@gmail.com>
To: Thomas F. O'Connell <tfo@sitening.com>
Cc: PgSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users
Date: Mon, 28 Feb 2005 11:12:15 +0530
Message-ID: <674d1f8a05022721424824ac01@mail.gmail.com> (raw)
In-Reply-To: <d9cf51e17973bcee0b49047396d282d0@sitening.com>
References: <d9cf51e17973bcee0b49047396d282d0@sitening.com>

Thanks a million,

pkill -f 'postgres: postgres <database>'

really helped. 

regards
gourish




On Fri, 25 Feb 2005 10:30:31 -0600, Thomas F. O'Connell
<tfo@sitening.com> wrote:
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
> 


-- 
Best,
Gourish Singbal



view thread (5+ messages)

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