Re: Checksums, state of play - Mailing list pgsql-hackers

From Marcin Mańk
Subject Re: Checksums, state of play
Date
Msg-id CAK61fk7g8hhLFzwP02md4X2=Jq+SrrQxcZbbkZZ3Zzz9pMrvZQ@mail.gmail.com
Whole thread Raw
In response to Re: Checksums, state of play  (Bruce Momjian <bruce@momjian.us>)
List 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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Dropping PL language retains support functions
Next
From: Tom Lane
Date:
Subject: Re: Scaling XLog insertion (was Re: Moving more work outside WALInsertLock)