pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: BGoebel <b.goebel@prisma-computer.de>
Cc: pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: Using of --data-checksums
Date: Mon, 13 Apr 2020 07:30:08 +0900
Message-ID: <20200412223008.GA2169@paquier.xyz> (raw)
In-Reply-To: <13634.1586701404@sss.pgh.pa.us>
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>
	<CABUevExgGTjHeNvKORX_zhx7rN7gocNcGE1e-Xp9E744Ci3Dvw@mail.gmail.com>
	<13634.1586701404@sss.pgh.pa.us>

On Sun, Apr 12, 2020 at 10:23:24AM -0400, Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> And FWIW, I do think we should change the default. And maybe spend some
>> extra effort on the message coming out of pg_upgrade in this case to make
>> it clear to people what their options are and exactly what to do.
> 
> Is there any hard evidence of checksums catching problems at all?
> Let alone in sufficient number to make them be on-by-default?

I don't know if that's a sufficient number, but I have dealt with
corruption cases on virtual environments where these have been really
essential to find out proof that the origin of the problem was not
Postgres because those bugs created wild and incorrect block
overwrites.  With the software stack getting more complicated, making
them the default would make sense IMO.  Now the case of upgrades is
more tricky than it is, no?  There is a copy of the file so we may be
able to do a block-to-block copy and update of the checksum, but you
cannot do that with the --link mode.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (12+ messages)  latest in thread

Message-ID: <20200412223008.GA2169@paquier.xyz>
Permalink:  ../20200412223008.GA2169@paquier.xyz/
Also on:    postgresql.org/message-id/20200412223008.GA2169@paquier.xyz

 · 

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 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, tgl@sss.pgh.pa.us, magnus@hagander.net, sfrost@snowman.net, bruce@momjian.us, b.goebel@prisma-computer.de
  Subject: Re: Using of --data-checksums
  In-Reply-To: <20200412223008.GA2169@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> <CABUevExgGTjHeNvKORX_zhx7rN7gocNcGE1e-Xp9E744Ci3Dvw@mail.gmail.com> <13634.1586701404@sss.pgh.pa.us> <20200412223008.GA2169@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