]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: Mention online checksum enabling in pg_checksums docs
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 4 Jun 2026 22:12:33 +0000 (00:12 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 4 Jun 2026 22:12:33 +0000 (00:12 +0200)
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 <daniel@yesql.se>
Reviewed-by: Bruce Momjian <bruce@momjian.us>
Reported-by: Bruce Momjian <bruce@momjian.us>
Discussion: https://postgr.es/m/aiHKJWa1k28fFTqf@momjian.us

doc/src/sgml/ref/pg_checksums.sgml
doc/src/sgml/wal.sgml

index 45890324075cb54f974dacd92fd5dd2bd7229467..8a18f447d15fe28d9a5cc44368b42a9d75490f88 100644 (file)
@@ -38,17 +38,22 @@ PostgreSQL documentation
   <para>
    <application>pg_checksums</application> checks, enables or disables data
    checksums in a <productname>PostgreSQL</productname> cluster.  The server
-   must be shut down cleanly before running
-   <application>pg_checksums</application>. When verifying checksums, the exit
+   must be shut down cleanly before running <application>pg_checksums</application>.
+   Checksums can also be enabled while the cluster is running using
+   <xref linkend="checksums-online-enable-disable"/> processing, see
+   <xref linkend="checksums"/> 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.
   </para>
 
   <para>
-   When enabling checksums, if checksums were in the process of being enabled
-   when the cluster was shut down, <application>pg_checksums</application>
-   will still process all relations regardless of the online processing.
+   When enabling checksums with <application>pg_checksums</application>, if
+   checksums were in the process of being enabled using
+   <xref linkend="checksums-online-enable-disable"/>  when the cluster was shut
+   down, <application>pg_checksums</application> will still process all
+   relation files regardless of the progress of online checksum processing.
   </para>
 
   <para>
index c32931edde39de6a8f164340116a0bd8e5de52a3..646076f7e396dc46b52b991de1d939b304e9bec5 100644 (file)
 
   </sect2>
 
-  <sect2 id="checksums-online-enable-disable">
+  <sect2 id="checksums-online-enable-disable" xreflabel="Online Enabling of Checksums">
    <title>Online Enabling of Checksums</title>
 
    <para>