algo for canceling a deadlocked transaction - Mailing list pgsql-general

From Thomas Poty
Subject algo for canceling a deadlocked transaction
Date
Msg-id CAN_ctnis=pqqMbM3boVRu7uPJxRi20fpcGeqUaC0pWTFUZXmzQ@mail.gmail.com
Whole thread Raw
Responses Re: algo for canceling a deadlocked transaction  (Stephen Frost <sfrost@snowman.net>)
List pgsql-general
Good afternoon,

My question is : In case of a deadlock between 2 transaction,  how to know which transaction will be canceled? Is it predictable?

I have tried to look into sources but i have found nothing. ( probably, i am the problem)

Regards,


Thomas

pgsql-general by date:

Previous
From: Ray Cote
Date:
Subject: Re: Rationale for aversion to the central database?
Next
From: Stephen Frost
Date:
Subject: Re: algo for canceling a deadlocked transaction