Re: ERROR: database is being accessed by other users

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: wolverine my <wolverine(dot)my(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: database is being accessed by other users
Date: 2005-08-24 02:37:33
Message-ID: 20050824023732.GA32230@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-08-24 03:51:02 Re: ctid access is slow
Previous Message wolverine my 2005-08-24 02:10:55 ERROR: database is being accessed by other users