Re: Checksums, state of play

From: Marcin Mańk <marcin(dot)mank(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Checksums, state of play
Date: 2012-03-06 20:30:16
Message-ID: CAK61fk7g8hhLFzwP02md4X2=Jq+SrrQxcZbbkZZ3Zzz9pMrvZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Mar 06, 2012 at 07:09:23PM +0000, Simon Riggs wrote:
> The problem is actually on/off/crash/on in quick succession which is
>> much less likely.

I must be missing something, but how about:
if (!has_checksums && page_loses_checksum_due_to_hint_bit_write)
wal_log_the_hint_bit_write();

Greetings
Marcin Mańk

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-03-06 20:32:59 Re: Scaling XLog insertion (was Re: Moving more work outside WALInsertLock)
Previous Message Peter Eisentraut 2012-03-06 20:28:40 Re: Dropping PL language retains support functions