Re: Incorrect "ERROR: database "xxx" is being accessed by other users"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dmitry(at)koterov(dot)ru
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Incorrect "ERROR: database "xxx" is being accessed by other users"
Date: 2007-03-13 08:07:47
Message-ID: 26311.1173773267@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Dmitry Koterov" <dmitry(at)koterov(dot)ru> writes:
> I have a database which I cannot delete (the same for rename):
> ERROR: database "xxx" is being accessed by other users
> But it is NOT accessed by anybody, because:

Have you checked for prepared transactions in that DB? See
pg_prepared_xacts view (I've been burnt by that myself...)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Koterov 2007-03-13 08:41:46 Re: Incorrect "ERROR: database "xxx" is being accessed by other users"
Previous Message Dmitry Koterov 2007-03-13 07:37:39 Incorrect "ERROR: database "xxx" is being accessed by other users"