From: Paul Förster <paul.foerster@gmail.com>
To: Matt Zagrabelny <mzagrabe@d.umn.edu>
Cc: " <pgsql-general@postgresql.org>
Subject: Re: initdb --data-checksums
Date: Mon, 9 Nov 2020 18:03:43 +0100
Message-ID: <7DEDB2BC-2948-4046-AC12-1EB9A47EC299@gmail.com> (raw)
In-Reply-To: <CAOLfK3UZ7a9aR0tgTGCDBzH69psxoxnXDiwQ=OAw62DLsHe-wQ@mail.gmail.com>
References: <CAOLfK3UZ7a9aR0tgTGCDBzH69psxoxnXDiwQ=OAw62DLsHe-wQ@mail.gmail.com>
Hi Matt,
> On 09. Nov, 2020, at 18:00, Matt Zagrabelny <mzagrabe@d.umn.edu> wrote:
>
> Hello,
>
> I see the --data-checksums option for initdb. Is it possible to use --data-checksums after the cluster has been initialized? I'm guessing "not", but thought I'd ask.
>
> I'm running v12 on Debian.
>
> Thanks for any help!
indeed, it is. Have a look at:
https://www.postgresql.org/docs/12/app-pgchecksums.html
Make sure the database is cleanly shut down before doing it.
Cheers,
Paul
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: paul.foerster@gmail.com, mzagrabe@d.umn.edu
Subject: Re: initdb --data-checksums
In-Reply-To: <7DEDB2BC-2948-4046-AC12-1EB9A47EC299@gmail.com>
References: <CAOLfK3UZ7a9aR0tgTGCDBzH69psxoxnXDiwQ=OAw62DLsHe-wQ@mail.gmail.com> <7DEDB2BC-2948-4046-AC12-1EB9A47EC299@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox