Re: data_checksums = off - Mailing list pgsql-admin

From Michael Banck
Subject Re: data_checksums = off
Date
Msg-id 66deb8e9.170a0220.2d507.8cd3@mx.google.com
Whole thread Raw
In response to data_checksums = off  (Wasim Devale <wasimd60@gmail.com>)
List pgsql-admin
Hi,

On Mon, Sep 09, 2024 at 02:24:04PM +0530, Wasim Devale wrote:
> The data_checksums option is off in pg_settings and it is a preset option
> to do while doing initialisation of data directory. I can not use alter
> command any solutions to it?

You need to shut down the instance and then run
pg_checksums --enable -D <data directory>

Checksums cannot be enabled while the instance is online and the above
needs to rewrite every block so it can take a while on larger instances.


Michael



pgsql-admin by date:

Previous
From: Wasim Devale
Date:
Subject: data_checksums = off
Next
From: Zaid Shabbir
Date:
Subject: Re: data_checksums = off