Re: ERROR: database is being accessed by other users

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: ERROR: database is being accessed by other users
Дата
Msg-id 20050824023732.GA32230@winnie.fuhr.org
обсуждение исходный текст
Ответ на ERROR: database is being accessed by other users  (wolverine my <wolverine.my@gmail.com>)
Ответы Re: ERROR: database is being accessed by other users  (wolverine my <wolverine.my@gmail.com>)
Список pgsql-general
On Wed, Aug 24, 2005 at 10:10:55AM +0800, wolverine my wrote:
> I got the following psql's error when executing a script,
> ERROR:  database "test" is being accessed by other users

What does the script do?  Based on the error message I'd guess that
you're trying to drop or rename the database.

> To solve this, I have to disconnect the database connection from the
> pgAdmin III.
>
> May I know how can I configure the database to allow multiple user access?

Databases do allow multiple user access, but PostgreSQL won't allow
you to drop or rename a database if somebody else is using it.

--
Michael Fuhr

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

Предыдущее
От: wolverine my
Дата:
Сообщение: ERROR: database is being accessed by other users
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ctid access is slow