Re: [COMMITTERS] pgsql: Make the visibility map crash-safe.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Robert Haas <rhaas(at)postgresql(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Make the visibility map crash-safe.
Date: 2011-06-22 10:55:35
Message-ID: 4E01CA27.6010102@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 22.06.2011 06:05, Robert Haas wrote:
> Second, when inserting, updating, or deleting
> a tuple, we can no longer get away with clearing the visibility map
> bit after releasing the lock on the corresponding heap page, because
> an intervening crash might leave the visibility map bit set and the
> page-level bit clear.

heap_update seems to still do that.

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-06-22 13:12:36 Re: [COMMITTERS] pgsql: Make the visibility map crash-safe.
Previous Message Heikki Linnakangas 2011-06-22 09:25:17 pgsql: Remove pointless const qualifiers from function arguments in the

Browse pgsql-hackers by date

  From Date Subject
Next Message Marti Raudsepp 2011-06-22 11:24:17 Re: Hugetables question
Previous Message Florian Pflug 2011-06-22 10:47:42 Re: Another issue with invalid XML values