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

From Simon Riggs
Subject Re: [PATCHES] wal_checksum = on (default) | off
Date
Msg-id 1167993347.20749.347.camel@silverbirch.site
Whole thread Raw
In response to Re: [PATCHES] wal_checksum = on (default) | off  ("Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>)
Responses Re: [PATCHES] wal_checksum = on (default) | off  ("Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>)
List pgsql-hackers
On Fri, 2007-01-05 at 11:01 +0100, Zeugswetter Andreas ADI SD wrote:

> > > 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.
>
> I guess that the use case is more for a WAL based replicate, that
> has/wants a different setting. Maybe we want a WAL entry for the change,
> or force a log switch (so you can interrupt the replicate, change it's
> setting
> and proceed with the next log) ?
>
> Maybe a 3rd mode for replicates that ignores 0 CRC's ?

Well, wal_checksum allows you to have this turned ON for the main server
and OFF on a Warm Standby.

The recovery process doesn't check for postgresql.conf reloads, so
setting it at server start is effectively the same thing in that case.

--
  Simon Riggs
  EnterpriseDB   http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas ADI SD"
Date:
Subject: Re: [PATCHES] wal_checksum = on (default) | off
Next
From: "Zeugswetter Andreas ADI SD"
Date:
Subject: Re: [PATCHES] wal_checksum = on (default) | off