Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id A875F1337B68 for ; Wed, 20 Apr 2011 12:03:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 86472-01 for ; Wed, 20 Apr 2011 15:03:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og104.obsmtp.com (exprod7og104.obsmtp.com [64.18.2.161]) by mail.postgresql.org (Postfix) with ESMTP id 7BC1C1337BC8 for ; Wed, 20 Apr 2011 12:03:37 -0300 (ADT) Received: from mail-ew0-f50.google.com ([209.85.215.50]) (using TLSv1) by exprod7ob104.postini.com ([64.18.6.12]) with SMTP ID DSNKTa71x+heZSZugpW+UKYuP4IrBmVpeFbU@postini.com; Wed, 20 Apr 2011 08:03:37 PDT Received: by ewy10 with SMTP id 10so248706ewy.9 for ; Wed, 20 Apr 2011 08:03:34 -0700 (PDT) Received: by 10.213.34.198 with SMTP id m6mr317405ebd.46.1303311814142; Wed, 20 Apr 2011 08:03:34 -0700 (PDT) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi [88.195.122.240]) by mx.google.com with ESMTPS id k51sm703446eei.3.2011.04.20.08.03.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Apr 2011 08:03:32 -0700 (PDT) Message-ID: <4DAEF5C2.3040508@enterprisedb.com> Date: Wed, 20 Apr 2011 18:03:30 +0300 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11 MIME-Version: 1.0 To: Tom Lane CC: Marko Tiikkaja , pgsql-bugs@postgresql.org, Kevin Grittner Subject: Re: BUG #5989: Assertion failure on UPDATE of big value References: <201104201411.p3KEBOfA009414@wwwmaster.postgresql.org> <26153.1303309604@sss.pgh.pa.us> <4DAEF1D4.2000203@enterprisedb.com> <26601.1303311077@sss.pgh.pa.us> In-Reply-To: <26601.1303311077@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201104/149 X-Sequence-Number: 30068 On 20.04.2011 17:51, Tom Lane wrote: > ... which means that the first transaction is completed and > can no longer be holding any locks. Predicate locks are held after transaction commit. They can only be cleaned once the xid is older than the oldest xmin among all active serializable transactions. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com