Re: BUG #5914: locking error in heap_fetch - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: BUG #5914: locking error in heap_fetch
Date
Msg-id 4D70EE85.6010904@enterprisedb.com
Whole thread Raw
In response to BUG #5914: locking error in heap_fetch  ("YAMAMOTO Takashi" <yamt@mwd.biglobe.ne.jp>)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Torsten Zühlsdorff
Date:
Subject: Re: Missing Bug-Report #5904?
Next
From: Tom Lane
Date:
Subject: Re: Possible regression: libpq + SSL aborts when user has no home directory