Re: pg_checksums? - Mailing list pgsql-general

From Paul Förster
Subject Re: pg_checksums?
Date
Msg-id 81D43A87-7D3D-4F81-B462-641F15B5E332@gmail.com
Whole thread Raw
In response to Re: pg_checksums?  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Responses Re: pg_checksums?
Re: pg_checksums?
List pgsql-general
Hi Peter

> On Oct 29, 2023, at 02:43, Peter J. Holzer <hjp-pgsql@hjp.at> wrote:
> I don't think so. AFAIK Replication keeps the data files in sync on a
> bit-for-bit level and turning on checksums changes the data layout.
> Running a cluster where one node has checksums and the other doesn't
> would result in a complete mess.

I agree with the last sentence. This is why I asked if it is safe to enable checksums on a replica, switch over and
thendo it again on the ex primary, i.e. now new replica without doing a reinit. 

Cheers
Paul


pgsql-general by date:

Previous
From: "Peter J. Holzer"
Date:
Subject: Re: pg_checksums?
Next
From: "Peter J. Holzer"
Date:
Subject: Re: pg_checksums?