Skip to content

Commit 8c35486

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 b919a97 commit 8c35486

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
@@ -186,7 +186,7 @@
186186
<itemizedlist>
187187
<listitem>
188188
<para>
189-
Each individual record in a WAL file is protected by a CRC-32 (32-bit) check
189+
Each individual record in a WAL file is protected by a CRC-32C (32-bit) check
190190
that allows us to tell if record contents are correct. The CRC value
191191
is set when we write each WAL record and checked during crash recovery,
192192
archive recovery and replication.
@@ -212,7 +212,7 @@
212212
</listitem>
213213
<listitem>
214214
<para>
215-
Individual state files in <filename>pg_twophase</filename> are protected by CRC-32.
215+
Individual state files in <filename>pg_twophase</filename> are protected by CRC-32C.
216216
</para>
217217
</listitem>
218218
<listitem>

0 commit comments

Comments
 (0)