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:      y...@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

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to