Skip to content

Commit 75bb335

Browse files
doc: Fix name of CRC algorithm in "Reliability" section.
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 5028f22). Fix that. Reviewed-by: Robert Haas Discussion: https://postgr.es/m/ZrUFpLP-w2zTAHqq%40nathan Backpatch-through: 12
1 parent 12010f4 commit 75bb335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/wal.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
<itemizedlist>
186186
<listitem>
187187
<para>
188-
Each individual record in a WAL file is protected by a CRC-32 (32-bit) check
188+
Each individual record in a WAL file is protected by a CRC-32C (32-bit) check
189189
that allows us to tell if record contents are correct. The CRC value
190190
is set when we write each WAL record and checked during crash recovery,
191191
archive recovery and replication.
@@ -211,7 +211,7 @@
211211
</listitem>
212212
<listitem>
213213
<para>
214-
Individual state files in <filename>pg_twophase</filename> are protected by CRC-32.
214+
Individual state files in <filename>pg_twophase</filename> are protected by CRC-32C.
215215
</para>
216216
</listitem>
217217
<listitem>

0 commit comments

Comments
 (0)