From: Gourish Singbal <gourish@gmail.com>
To: pgsql-admin@postgresql.org
Subject: dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users
Date: Mon, 21 Feb 2005 19:51:10 +0530
Message-ID: <674d1f8a0502210621233cf44e@mail.gmail.com> (raw)
This Error message was given when i was dropping the database.
There are idle connections to the database as seen from ps -ef | grep postgres
How can i drop the database with out restarting the postgres server.?.
FYI: i am dropping the database to perform restoration of this backup
database using psql from production.
--
Best,
Gourish Singbal
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
Subject: Re: dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users
In-Reply-To: <674d1f8a0502210621233cf44e@mail.gmail.com>
References: <674d1f8a0502210621233cf44e@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