pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Marko Tiikkaja <marko.tiikkaja@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Subject: Re: BUG #5989: Assertion failure on UPDATE of big value
Date: Wed, 20 Apr 2011 18:03:30 +0300
Message-ID: <4DAEF5C2.3040508@enterprisedb.com> (raw)
In-Reply-To: <26601.1303311077@sss.pgh.pa.us>
References: <201104201411.p3KEBOfA009414@wwwmaster.postgresql.org>
	<26153.1303309604@sss.pgh.pa.us>
	<4DAEF1D4.2000203@enterprisedb.com>
	<26601.1303311077@sss.pgh.pa.us>

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



view thread (18+ messages)  latest in thread

Message-ID: <4DAEF5C2.3040508@enterprisedb.com>
Permalink:  ../4DAEF5C2.3040508@enterprisedb.com/
Also on:    postgresql.org/message-id/4DAEF5C2.3040508@enterprisedb.com

 · 

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-bugs@postgresql.org
  Cc: heikki.linnakangas@enterprisedb.com, tgl@sss.pgh.pa.us, marko.tiikkaja@2ndquadrant.com, Kevin.Grittner@wicourts.gov
  Subject: Re: BUG #5989: Assertion failure on UPDATE of big value
  In-Reply-To: <4DAEF5C2.3040508@enterprisedb.com>
  References: <201104201411.p3KEBOfA009414@wwwmaster.postgresql.org> <26153.1303309604@sss.pgh.pa.us> <4DAEF1D4.2000203@enterprisedb.com> <26601.1303311077@sss.pgh.pa.us> <4DAEF5C2.3040508@enterprisedb.com>

* 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