Re: [PATCHES] wal_checksum = on (default) | off - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] wal_checksum = on (default) | off
Date
Msg-id 17558.1167926999@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] wal_checksum = on (default) | off  ("Simon Riggs" <simon@2ndquadrant.com>)
Responses Re: [PATCHES] wal_checksum = on (default) | off
List pgsql-hackers
"Simon Riggs" <simon@2ndquadrant.com> writes:
> On Thu, 2007-01-04 at 10:00 -0500, Tom Lane wrote:
>> "Simon Riggs" <simon@2ndquadrant.com> writes:
>>> Recovery can occur with/without same setting of wal_checksum, to avoid
>>> complications from crashes immediately after turning GUC on.
>>
>> Surely not.  Otherwise even the "on" setting is not really a defense.

> Only when the CRC is exactly zero, which happens very very rarely.

"It works most of the time" doesn't exactly satisfy me.  What's the
use-case for changing the variable on the fly anyway?  Seems a better
solution is just to lock down the setting at postmaster start.

            regards, tom lane

pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: [PATCHES] wal_checksum = on (default) | off
Next
From: Andrew Dunstan
Date:
Subject: Re: Tabs or Spaces