pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Kris Kiger <kris@musicrebellion.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Concurrency
Date: Mon, 09 May 2005 17:46:29 -0400
Message-ID: <1937.1115675189@sss.pgh.pa.us> (raw)
In-Reply-To: <1115674715.3830.78.camel@localhost.localdomain>
References: <671060015.20031010095617@roaddep.ru>
	<427F9C06.3070206@musicrebellion.com>
	<1115665123.3830.38.camel@localhost.localdomain>
	<515.1115666320@sss.pgh.pa.us>
	<1115674715.3830.78.camel@localhost.localdomain>

Simon Riggs <simon@2ndquadrant.com> writes:
> On Mon, 2005-05-09 at 15:18 -0400, Tom Lane wrote:
>> ... usually.  We will promote later arrivals in front of older ones if
>> the alternative would be a deadlock (eg, the later one already holds
>> some lock that would block the earlier one).

> Thats part of deadlock detection? I had thought we just blew one away...

Only after deciding that there's no way to rearrange the lock queues to
eliminate the deadlock.

			regards, tom lane



view thread (5+ messages)

Message-ID: <1937.1115675189@sss.pgh.pa.us>
Permalink:  ../1937.1115675189@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1937.1115675189@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, simon@2ndquadrant.com, kris@musicrebellion.com
  Subject: Re: Concurrency
  In-Reply-To: <1937.1115675189@sss.pgh.pa.us>
  References: <671060015.20031010095617@roaddep.ru> <427F9C06.3070206@musicrebellion.com> <1115665123.3830.38.camel@localhost.localdomain> <515.1115666320@sss.pgh.pa.us> <1115674715.3830.78.camel@localhost.localdomain> <1937.1115675189@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox