Re: Changing the state of data checksums in a running cluster - Mailing list pgsql-hackers

From SATYANARAYANA NARLAPURAM
Subject Re: Changing the state of data checksums in a running cluster
Date
Msg-id CAHg+QDfRk4-S7DMmdbXJnQ-xF=sUpMAKuh8b83ObLqYVKx5QLA@mail.gmail.com
Whole thread
In response to Re: Changing the state of data checksums in a running cluster  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Changing the state of data checksums in a running cluster
List pgsql-hackers
Hi Daniel,

On Fri, Apr 3, 2026 at 8:33 AM Daniel Gustafsson <daniel@yesql.se> wrote:
The attached rebase with a PG_CONTROL_VERSION bump is what I have staged for
later tonight, submitting here to have the (hopefully) final patch archived as
well as another CFBot run.

Sorry for the late review. pg_enable/disable_data_checksums() aren't needed to be run 
on the standby. It appears the call would silently register a dynamic background worker that 
could never start , and could unexpectedly fire after promotion. 

Please find the attached patch to address this.

Thanks,
Satya
Attachment

pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: Implement waiting for wal lsn replay: reloaded
Next
From: Antonin Houska
Date:
Subject: Re: Adding REPACK [concurrently]