doc: Fix name of CRC algorithm in "Reliability" section.
authorNathan Bossart <[email protected]>
Fri, 9 Aug 2024 15:52:37 +0000 (10:52 -0500)
committerNathan Bossart <[email protected]>
Fri, 9 Aug 2024 15:52:37 +0000 (10:52 -0500)
This section claims we use CRC-32 for WAL records and two-phase
state files, but we've actually used CRC-32C since v9.5 (commit
5028f22f6e).  Fix that.

Reviewed-by: Robert Haas
Discussion: https://postgr.es/m/ZrUFpLP-w2zTAHqq%40nathan
Backpatch-through: 12

doc/src/sgml/wal.sgml

index 1b10f6f83fe53cd65c8b5a8f79ac4bceeaa069d9..a4200ee803683831bd8e3325d14b6cc13f976518 100644 (file)
    <itemizedlist>
     <listitem>
      <para>
-      Each individual record in a WAL file is protected by a CRC-32 (32-bit) check
+      Each individual record in a WAL file is protected by a CRC-32C (32-bit) check
       that allows us to tell if record contents are correct. The CRC value
       is set when we write each WAL record and checked during crash recovery,
       archive recovery and replication.
     </listitem>
     <listitem>
      <para>
-      Individual state files in <filename>pg_twophase</filename> are protected by CRC-32.
+      Individual state files in <filename>pg_twophase</filename> are protected by CRC-32C.
      </para>
     </listitem>
     <listitem>