From: Daniel Gustafsson Date: Thu, 4 Jun 2026 22:12:33 +0000 (+0200) Subject: doc: Mention online checksum enabling in pg_checksums docs X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ae3e98c02cf57ba5e1d29e914a3b2e4d15f066f;p=thirdparty%2Fpostgresql.git doc: Mention online checksum enabling in pg_checksums docs The documentation for bin/pg_checksums refered to online processing only in passing, this extends the documentation to list online checksums as as alternative as well as providing a link to the new Data Checksums section. Author: Daniel Gustafsson Reviewed-by: Bruce Momjian Reported-by: Bruce Momjian Discussion: https://postgr.es/m/aiHKJWa1k28fFTqf@momjian.us --- diff --git a/doc/src/sgml/ref/pg_checksums.sgml b/doc/src/sgml/ref/pg_checksums.sgml index 45890324075..8a18f447d15 100644 --- a/doc/src/sgml/ref/pg_checksums.sgml +++ b/doc/src/sgml/ref/pg_checksums.sgml @@ -38,17 +38,22 @@ PostgreSQL documentation pg_checksums checks, enables or disables data checksums in a PostgreSQL cluster. The server - must be shut down cleanly before running - pg_checksums. When verifying checksums, the exit + must be shut down cleanly before running pg_checksums. + Checksums can also be enabled while the cluster is running using + processing, see + for further details on the different approaches. + When verifying checksums, the exit status is zero if there are no checksum errors, and nonzero if at least one checksum failure is detected. When enabling or disabling checksums, the exit status is nonzero if the operation failed. - When enabling checksums, if checksums were in the process of being enabled - when the cluster was shut down, pg_checksums - will still process all relations regardless of the online processing. + When enabling checksums with pg_checksums, if + checksums were in the process of being enabled using + when the cluster was shut + down, pg_checksums will still process all + relation files regardless of the progress of online checksum processing. diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index c32931edde3..646076f7e39 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -276,7 +276,7 @@ - + Online Enabling of Checksums