Re: More issues with pg_verify_checksums and checksum verification in base backups
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, Stephen Frost <sfrost@snowman.net>, Andres Freund <andres@anarazel.de>, Andrew Dunstan <andrew@dunslane.net>, Daniel Gustafsson <daniel@yesql.se>, Magnus Hagander <magnus@hagander.net>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2018-11-02T00:33:59Z
Lists: pgsql-hackers
On Thu, Nov 01, 2018 at 04:44:40PM +0530, Amit Kapila wrote: > This sounds like a good argument for having a whitelist approach, but > is it really a big problem if a user gets warning for files that the > utility is not able to verify checksums for? I think in some sense > this message can be useful to the user as it can allow him to know > which files are not verified by the utility for some form of > corruption. I guess one can say that users might not be interested in > this information in which case such a check could be optional as you > seem to be suggesting in the following paragraph. The replication protocol supports NOVERIFY_CHECKSUMS to avoid the warnings so they enabled by default, and can be disabled at will. pg_basebackup supports the same interface. -- Michael
Commits
-
Fix various checksum check problems for pg_verify_checksums and base backups
- 19516afdf167 11.2 landed
- 5c995139752f 12.0 landed
-
Switch pg_verify_checksums back to a blacklist
- 85036308dc58 11.2 landed
- a1c91dd1108c 12.0 landed