Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 6B3122E003A for ; Tue, 13 May 2008 20:33:32 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 36478-06 for ; Tue, 13 May 2008 20:33:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outbound-mail-124.bluehost.com (outbound-mail-124.bluehost.com [67.222.38.24]) by developer.postgresql.org (Postfix) with SMTP id 71D512E0031 for ; Tue, 13 May 2008 20:33:31 -0300 (ADT) Received: (qmail 13777 invoked by uid 0); 13 May 2008 23:33:27 -0000 Received: from unknown (HELO box54.bluehost.com) (69.89.20.54) by outboundproxy4.bluehost.com with SMTP; 13 May 2008 23:33:27 -0000 Received: from ip65-46-48-50.z48-46-65.customer.algx.net ([65.46.48.50] helo=[10.20.44.130]) by box54.bluehost.com with esmtpa (Exim 4.68) (envelope-from ) id 1Jw3zq-0004Rr-IX; Tue, 13 May 2008 17:33:27 -0600 Cc: Tino Schwarze , pgsql-admin@postgresql.org Message-Id: <506ECCFC-6568-4CD3-B4AF-25A860D97859@kevinkempterllc.com> From: kevin kempter To: Tom Lane In-Reply-To: <7586.1210719628@sss.pgh.pa.us> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Deadlocks ? Date: Tue, 13 May 2008 17:33:27 -0600 References: <8490DCB9-7D9B-47E5-B5A6-A0FD52C30C59@kevinkempterllc.com> <20080513193048.GA15701@easy2.in-chemnitz.de> <7586.1210719628@sss.pgh.pa.us> X-Mailer: Apple Mail (2.919.2) X-Identified-User: {840:box54.bluehost.com:kevinkem:kevinkempterllc.com} {sentby:smtp auth 65.46.48.50 authed with kevin+kevinkempterllc.com} DomainKey-Status: no signature X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/114 X-Sequence-Number: 29198 On May 13, 2008, at 5:00 PM, Tom Lane wrote: > Tino Schwarze writes: >> On Tue, May 13, 2008 at 01:18:24PM -0600, kevin kempter wrote: >> ProgrammingError: deadlock detected >> DETAIL: Process 23098 waits for ShareUpdateExclusiveLock on >> relation 428126 of database 427376; blocked by process 23916. >> Process 23916 waits for ShareLock on transaction 46802680; blocked >> by process 23098. > >> I've never figured out how to resolve the "lock on transaction" to >> something understandable... > > It's presumably waiting for a row lock that the other transaction > has got. We don't keep enough information about row locks in memory > to give a better error message (because we could run out of memory > if we tried :-() > > regards, tom lane > If that's true does it make sense to play with a timeout value (I assume the timeout is configurable somewhere in postgresql.conf) in an effort to tune for this ? /Kevin > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin