Re: dropdb command not working.

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: dropdb command not working.
Дата
Msg-id 20050119060218.GA56927@winnie.fuhr.org
обсуждение исходный текст
Ответ на dropdb command not working.  ("Pradeepkumar, Pyatalo (IE10)" <Pradeepkumar.Pyatalo@honeywell.com>)
Список pgsql-novice
On Tue, Jan 18, 2005 at 10:29:32PM -0700, Pradeepkumar, Pyatalo (IE10) wrote:
>
> dropdb: database removal failed: ERROR:  database "eps_db" is being accessed
> by other users
>
> But there are no other users accessing the database.

How do you know that?  What does the following query show?

SELECT * FROM pg_stat_activity;

> Is there an option to forcefully delete the database even if other
> users are accessing it.

It might be better to find out who's using the database and why
before dropping it.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

В списке pgsql-novice по дате отправления:

Предыдущее
От: "K Anderson"
Дата:
Сообщение: Re: generating dynamic queries using pl/pgsql
Следующее
От: Ramon Orticio
Дата:
Сообщение: reinstalled postgresql-8.0.0-rc5-2