pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5914: locking error in heap_fetch
Date: Fri, 04 Mar 2011 15:52:05 +0200
Message-ID: <4D70EE85.6010904@enterprisedb.com> (raw)
In-Reply-To: <201103040834.p248YKlH032580@wwwmaster.postgresql.org>
References: <201103040834.p248YKlH032580@wwwmaster.postgresql.org>

On 04.03.2011 10:34, YAMAMOTO Takashi wrote:
>
> The following bug has been logged online:
>
> Bug reference:      5914
> Logged by:          YAMAMOTO Takashi
> Email address:      yamt@mwd.biglobe.ne.jp
> PostgreSQL version: 9.1devel
> Operating system:   NetBSD
> Description:        locking error in heap_fetch
> Details:
>
> heap_fetch calls CheckForSerializableConflictOut without buffer locked.
> it ends up an assertion failure in SetBufferCommitInfoNeedsSave.

Thanks, applied. I also added a comment to 
CheckForSerializableConflictOut, noting that the caller must hold a lock 
on the page.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com



view thread (3+ messages)  latest in thread

Message-ID: <4D70EE85.6010904@enterprisedb.com>
Permalink:  ../4D70EE85.6010904@enterprisedb.com/
Also on:    postgresql.org/message-id/4D70EE85.6010904@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, yamt@mwd.biglobe.ne.jp
  Subject: Re: BUG #5914: locking error in heap_fetch
  In-Reply-To: <4D70EE85.6010904@enterprisedb.com>
  References: <201103040834.p248YKlH032580@wwwmaster.postgresql.org> <4D70EE85.6010904@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