Re: Offline enabling/disabling of data checksums
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andres Freund <andres@anarazel.de>,
Michael Banck <michael.banck@credativ.de>,
Magnus Hagander <magnus@hagander.net>, Sergei Kornilov <sk@zsrv.org>,
PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2019-03-22T13:59:31Z
Lists: pgsql-hackers
Bonjour Michaël, > Does that look fine to you? Mostly. Patch v9 part 1 applies cleanly, compiles, global and local check ok, doc build ok. On write(), the error message is not translatable whereas it is for all others. I agree that a BIG STRONG warning is needed about not to start the cluster under pain of possible data corruption. I still think that preventing this is desirable, preferably before v12. Otherwise, my remaining non showstopper (committer's opinion matters more) issues: Doc: A postgres cluster is like an Oracle instance. I'd use "replicated setup" instead of "cluster", and "cluster" instead of "instance. I'll try to improve the text, possibly over the week-end. Enabling/disabling an already enabled/disabled cluster should not be a failure for me, because the cluster is left under the prescribed state. Patch v9 part 2 applies cleanly, compiles, global and local check ok, doc build ok. Ok for me. -- Fabien.
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