Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: Deadlock with ShareLocks? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Deadlock with ShareLocks?
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Deadlock with ShareLocks?  (Mario Weilguni <[email protected]>)
Responses Re: Deadlock with ShareLocks?
List pgsql-hackers
Mario Weilguni <[email protected]> writes:
> Since the type field is PK, there cannot be 2 rows with type='list', I guess 
> the deadlock must have some different explanation.

Then the deadlock must involve rows in two different tables.  What else
are you doing in the same transaction(s) as updating last_modified?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Regression test horology failure
Next
From: Mario Weilguni
Date:
Subject: Re: Deadlock with ShareLocks?