dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users - Mailing list pgsql-admin

From Gourish Singbal
Subject dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users
Date
Msg-id 674d1f8a0502210621233cf44e@mail.gmail.com
Whole thread Raw
Responses Re: dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users  (Gourish Singbal <gourish@gmail.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From:
Date:
Subject: Having problem with functions/operators/aggregates
Next
From: Gourish Singbal
Date:
Subject: Re: ERROR: 40P01: