Skip site navigation (1) Skip section navigation (2)

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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Robert Haas <rhaas(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Make the visibility map crash-safe.
Date: 2011-06-22 13:12:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committerspgsql-hackers
On Wed, Jun 22, 2011 at 6:55 AM, Heikki Linnakangas
<heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> 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.

Aw, crap.  I'll take another look.

Robert Haas
The Enterprise PostgreSQL Company

In response to


pgsql-hackers by date

Next:From: Josh KupershmidtDate: 2011-06-22 13:14:47
Subject: Re: smallserial / serial2
Previous:From: Bruce MomjianDate: 2011-06-22 13:10:02
Subject: Re: Indication of db-shared tables

pgsql-committers by date

Next:From: Robert HaasDate: 2011-06-22 13:43:48
Subject: pgsql: Don't select log_cnt in sequence regression tests.
Previous:From: Heikki LinnakangasDate: 2011-06-22 10:55:35
Subject: Re: [COMMITTERS] pgsql: Make the visibility map crash-safe.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group