X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 342A052A3D for ; Mon, 9 May 2005 18:46:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 98563-01 for ; Mon, 9 May 2005 21:46:38 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id A44DF53E0C for ; Mon, 9 May 2005 18:46:37 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j49LkTUY001938; Mon, 9 May 2005 17:46:29 -0400 (EDT) To: Simon Riggs Cc: Kris Kiger , pgsql-admin@postgresql.org Subject: Re: Concurrency 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> Comments: In-reply-to Simon Riggs message dated "Mon, 09 May 2005 22:38:35 +0100" Date: Mon, 09 May 2005 17:46:29 -0400 Message-ID: <1937.1115675189@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/102 X-Sequence-Number: 17531 Simon Riggs 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