Re: transactionid lock type? - Mailing list pgsql-general

From Tom Lane
Subject Re: transactionid lock type?
Date
Msg-id 10661.1200678858@sss.pgh.pa.us
Whole thread Raw
In response to transactionid lock type?  (Jan de Visser <jdevisser@digitalfairway.com>)
List pgsql-general
Jan de Visser <jdevisser@digitalfairway.com> writes:
> So what could make my transaction decide to wait for that other tx?

Usually what this indicates is blocking to acquire a row-level lock,
eg that transaction is waiting to see if it can update a row that the
other one already updated.  In 8.1 and later you can find out which row
is contended for by seeing what row-level lock is held by the *waiting*
transaction (yes, really, not the waited-for one).

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: case dumbiness in return from functions
Next
From: Hannes Dorbath
Date:
Subject: Re: [OT] RAID controllers blocking one another?