From: Michael Paquier <michael@paquier.xyz>
To: Stephen Frost <sfrost@snowman.net>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: BGoebel <b.goebel@prisma-computer.de>
Cc: pgsql-general@postgresql.org
Subject: Re: Using of --data-checksums
Date: Sun, 12 Apr 2020 15:05:13 +0900
Message-ID: <20200412060513.GA6012@paquier.xyz> (raw)
In-Reply-To: <20200410203746.GA13712@tamriel.snowman.net>
References: <1586272213908-0.post@n3.nabble.com>
<20200408155434.GG13712@tamriel.snowman.net>
<20200410202508.GB24987@momjian.us>
<20200410203746.GA13712@tamriel.snowman.net>
On Fri, Apr 10, 2020 at 04:37:46PM -0400, Stephen Frost wrote:
> There's definitely a lot of reasons to want to have the ability to
> change an existing cluster. Considering the complications around
> running pg_upgrade already, I don't really think that changing the
> default of initdb would be that big a hurdle for folks to deal with-
> they'd try the pg_upgrade, get a very quick error that the new cluster
> has checksums enabled and the old one didn't, and they'd re-initdb the
> new cluster and then re-run pg_upgrade to figure out what the next issue
> is..
We discussed that a couple of months ago, and we decided to keep that
out of the upgrade story, no? Anyway, if you want to enable or
disable data checksums on an existing cluster, you always have the
possibility to use pg_checksums --enable. This exists in core since
12, and there is also a version on out of core for older versions of
Postgres: https://github.com/credativ/pg_checksums. On apt-based
distributions like Debian, this stuff is under the package
postgresql-12-pg-checksums.
--
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, sfrost@snowman.net, bruce@momjian.us, b.goebel@prisma-computer.de
Subject: Re: Using of --data-checksums
In-Reply-To: <20200412060513.GA6012@paquier.xyz>
References: <1586272213908-0.post@n3.nabble.com> <20200408155434.GG13712@tamriel.snowman.net> <20200410202508.GB24987@momjian.us> <20200410203746.GA13712@tamriel.snowman.net> <20200412060513.GA6012@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