algo for canceling a deadlocked transaction

From: Thomas Poty <thomas(dot)poty(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: algo for canceling a deadlocked transaction
Date: 2018-04-09 13:46:52
Message-ID: CAN_ctnis=pqqMbM3boVRu7uPJxRi20fpcGeqUaC0pWTFUZXmzQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2018-04-09 13:51:21 Re: algo for canceling a deadlocked transaction
Previous Message Ray Cote 2018-04-09 13:45:34 Re: Rationale for aversion to the central database?