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

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Incorrect "ERROR: database "xxx" is being accessed by other users"
Дата
Msg-id 20070313095259.GA91173@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Incorrect "ERROR: database "xxx" is being accessed by other users"  ("Dmitry Koterov" <dmitry@koterov.ru>)
Ответы Re: Incorrect "ERROR: database "xxx" is being accessed by other users"  ("Dmitry Koterov" <dmitry@koterov.ru>)
Список pgsql-general
On Tue, Mar 13, 2007 at 11:41:46AM +0300, Dmitry Koterov wrote:
> Yes, I have one!
> How to remove it now? I tried DEALLOCATE for gid returned by
>
> select * from pg_prepared_xacts;
>
> but it says "prepared statement does not exist"...

DEALLOCATE is for prepared *statements*; you have a prepared
*transaction*.  Connect to the database you're trying to drop and
use ROLLBACK PREPARED or COMMIT PREPARED, then disconnect from that
database and try dropping it again.

--
Michael Fuhr

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

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Incorrect "ERROR: database "xxx" is being accessed by other users"
Следующее
От: "Dmitry Koterov"
Дата:
Сообщение: Re: Incorrect "ERROR: database "xxx" is being accessed by other users"