From: Michael Paquier <michael@paquier.xyz>
To: Paul Förster <paul.foerster@gmail.com>
Cc: Matt Zagrabelny <mzagrabe@d.umn.edu>
Cc: " <pgsql-general@postgresql.org>
Subject: Re: initdb --data-checksums
Date: Tue, 10 Nov 2020 11:04:47 +0900
Message-ID: <20201110020447.GF1887@paquier.xyz> (raw)
In-Reply-To: <7DEDB2BC-2948-4046-AC12-1EB9A47EC299@gmail.com>
References: <CAOLfK3UZ7a9aR0tgTGCDBzH69psxoxnXDiwQ=OAw62DLsHe-wQ@mail.gmail.com>
<7DEDB2BC-2948-4046-AC12-1EB9A47EC299@gmail.com>
On Mon, Nov 09, 2020 at 06:03:43PM +0100, Paul Förster wrote:
> 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.
This tool is really useful with upgrades after pg_upgrade. Please
note that there is a --progress option, so you can basically know how
long it is going to take until completion.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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: michael@paquier.xyz, paul.foerster@gmail.com, mzagrabe@d.umn.edu
Subject: Re: initdb --data-checksums
In-Reply-To: <20201110020447.GF1887@paquier.xyz>
References: <CAOLfK3UZ7a9aR0tgTGCDBzH69psxoxnXDiwQ=OAw62DLsHe-wQ@mail.gmail.com> <7DEDB2BC-2948-4046-AC12-1EB9A47EC299@gmail.com> <20201110020447.GF1887@paquier.xyz>
* 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