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

From Christophe Pettus
Subject Re: algo for canceling a deadlocked transaction
Date
Msg-id 316F0FB1-4B35-4E2C-B9A9-4DCF281AC8E5@thebuild.com
Whole thread Raw
In response to Re: algo for canceling a deadlocked transaction  (Thomas Poty <thomas.poty@gmail.com>)
Responses Re: algo for canceling a deadlocked transaction
List pgsql-general
> On Apr 9, 2018, at 07:33, Thomas Poty <thomas.poty@gmail.com> wrote:
>
> ok, and long  answer ? is it random?

It's not literally random, but from the application point of view, it's not predictable.  For example, it's not always
theone that opened first, or any other consistent measure. 
--
-- Christophe Pettus
   xof@thebuild.com



pgsql-general by date:

Previous
From: Thomas Poty
Date:
Subject: Re: algo for canceling a deadlocked transaction
Next
From: Tom Lane
Date:
Subject: Re: algo for canceling a deadlocked transaction