Re: [HACKERS] ERROR: WaitOnLock: error on wakeup - Aborting this transaction

Поиск
Список
Период
Сортировка
От Vadim Mikheev
Тема Re: [HACKERS] ERROR: WaitOnLock: error on wakeup - Aborting this transaction
Дата
Msg-id 3748CDFB.F35709E3@krs.ru
обсуждение исходный текст
Ответ на Re: [HACKERS] ERROR: WaitOnLock: error on wakeup - Aborting this transaction  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: [HACKERS] ERROR: WaitOnLock: error on wakeup - Aborting this transaction  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Re: [HACKERS] ERROR: WaitOnLock: error on wakeup - Aborting this transaction  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
Tatsuo Ishii wrote:
> 
> > > I get above message from the backend while trying to update same raw
> > > from different transactions (I guess). Is this normal?
> 
> My sessions look like:
> 
> begin;
> update t set a = 1 where c = 1;
> select * from t where c = 1;
> end;

Ops. Do you have indices over table t?
Btree-s are still using page-level locking and don't release
locks when leave index page to fetch row from relation.
Seems that this causes deadlocks more often than I thought -:(

Marc? I can fix this today and I'll be very careful...
Ok?

Vadim


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Current TODO list
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] ERROR: WaitOnLock: error on wakeup - Aborting this transaction