2PC-induced lockup

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема 2PC-induced lockup
Дата
Msg-id 200707101515.00782.peter_e@gmx.net
обсуждение исходный текст
Ответы Re: 2PC-induced lockup
Re: 2PC-induced lockup
Список pgsql-hackers
The following command sequence appears to lock up the database system:

BEGIN;
LOCK pg_authid;
PREPARE TRANSACTION 'foo';
\q

After that you can't connect anymore, even in single-user mode.  The only way 
I could find is to clear out the pg_twophase directory, but I'm not sure 
whether it is safe to do that.

Should this be prevented somehow, and is there a better recovery path?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: "Shelby Epps"
Дата:
Сообщение: Man Lebt nur einmal - probiers aus ! of clarity I think -- who've faced the
Следующее
От: Magnus Hagander
Дата:
Сообщение: GSSAPI patch