Re: algo for canceling a deadlocked transaction

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: Thomas Poty <thomas(dot)poty(at)gmail(dot)com>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: algo for canceling a deadlocked transaction
Date: 2018-04-09 14:42:24
Message-ID: 316F0FB1-4B35-4E2C-B9A9-4DCF281AC8E5@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> On Apr 9, 2018, at 07:33, Thomas Poty <thomas(dot)poty(at)gmail(dot)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 the one that opened first, or any other consistent measure.
--
-- Christophe Pettus
xof(at)thebuild(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2018-04-09 15:04:04 Re: algo for canceling a deadlocked transaction
Previous Message Thomas Poty 2018-04-09 14:33:29 Re: algo for canceling a deadlocked transaction