public inbox for [email protected]  
help / color / mirror / Atom feed
From: Muhammad Usman Khan <[email protected]>
To: Wasim Devale <[email protected]>
Cc: Pgsql-admin <[email protected]>
Cc: pgsql-admin <[email protected]>
Subject: Re: data_checksums = off
Date: Mon, 9 Sep 2024 14:00:33 +0500
Message-ID: <CAPnRvGtC=KDaMnRknAdV1Jj7F_G=rPAPqrq4VdbGFnV1sK0eow@mail.gmail.com> (raw)
In-Reply-To: <CAB5fag7fm34nqYLjPdQcGn=V_SApwZVnXv-gU=XWY9_7aKLLxA@mail.gmail.com>
References: <CAB5fag7fm34nqYLjPdQcGn=V_SApwZVnXv-gU=XWY9_7aKLLxA@mail.gmail.com>

Hi,
You need to initialize new directory with cheksums

sudo -u postgres initdb -D /path/to/new/data/directory --data-checksums
Make sure to adjust permissions of data directory


On Mon, 9 Sept 2024 at 13:54, Wasim Devale <[email protected]> wrote:

> Hi All
>
> 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?
>
> Thanks,
> Wasim
>


view thread (4+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: data_checksums = off
  In-Reply-To: <CAPnRvGtC=KDaMnRknAdV1Jj7F_G=rPAPqrq4VdbGFnV1sK0eow@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox