Re: Offline enabling/disabling of data checksums
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Michael Banck <michael.banck@credativ.de>
Cc: Magnus Hagander <magnus@hagander.net>, Tomas Vondra <tomas.vondra@2ndquadrant.com>, Postgres hackers <pgsql-hackers@postgresql.org>
Date: 2019-01-01T02:38:48Z
Lists: pgsql-hackers
On Sat, Dec 29, 2018 at 11:55:43AM +0100, Michael Banck wrote: > Renaming applications shouldn't be a problem unless they have to be > moved from one binary package to another. I assume all packagers ship > all client/server binaries in one package, respectively (and not e.g. a > dedicated postgresql-11-pg_test_fsync package), this should only be a > matter of updating package metadata. > > In any case, it should be identical to the xlog->wal rename. I have poked -packagers on the matter and I am seeing no complains, so let's move forward with this stuff. From the consensus I am seeing on the thread, we have been discussing about the following points: 1) Rename pg_verify_checksums to pg_checksums. 2) Have separate switches for each action, aka --verify, --enable and --disable, or a unified --action switch which can take different values. 3) Do we want to imply --verify by default if no switch is specified? About 2), folks who have expressed an opinion are: - Multiple switches: Robert, Fabien, Magnus - Single --action switch: Michael B, Michael P About 3), aka --verify implied if no action is specified: - In favor: Fabien C, Magnus - Against: Michael P If I missed what someone said, please feel free to complete with your votes here. -- Michael
Commits
-
Reorganize Notes section in documentation of pg_checksums
- a7cc52370b2b 12.0 landed
-
Add option -N/--no-sync to pg_checksums
- e0090c869008 12.0 landed
-
Add options to enable and disable checksums in pg_checksums
- ed308d783790 12.0 landed
-
Refactor more code logic to update the control file
- 8b938d36f744 12.0 landed
-
Rename pg_verify_checksums to pg_checksums
- 6dd263cfaa84 12.0 landed
-
Fix cross-version compatibility checks of pg_verify_checksums
- 501f58359b59 11.3 landed
- c9ae7f704c67 12.0 landed
-
Add routine able to update the control file to src/common/
- ce6afc6823fb 12.0 landed