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

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: t-ishii(at)sra(dot)co(dot)jp
Cc: hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] ERROR: WaitOnLock: error on wakeup - Aborting this transaction
Date: 1999-05-24 03:56:43
Message-ID: 3748CDFB.F35709E3@krs.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 1999-05-24 04:10:37 Re: [HACKERS] ERROR: WaitOnLock: error on wakeup - Aborting this transaction
Previous Message Bruce Momjian 1999-05-24 03:32:29 Re: [HACKERS] Current TODO list