Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
doc: Fix name of CRC algorithm in "Reliability" section.
authorNathan Bossart <nathan@postgresql.org>
Fri, 9 Aug 2024 15:52:37 +0000 (10:52 -0500)
committerNathan Bossart <nathan@postgresql.org>
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 721b2d9d46dbdea51e437708945df1bb0c5f2972..db839929b82e9185efc8bf12f2207760ec572bfd 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>