From 75bb3354e6da6cceae9756d2e3c473088e554b16 Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Fri, 9 Aug 2024 10:52:37 -0500 Subject: [PATCH] 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 5028f22f6e). Fix that. Reviewed-by: Robert Haas Discussion: https://postgr.es/m/ZrUFpLP-w2zTAHqq%40nathan Backpatch-through: 12 --- doc/src/sgml/wal.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index 2514982fbb..7463a87a8e 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -185,7 +185,7 @@ - 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. @@ -211,7 +211,7 @@ - Individual state files in pg_twophase are protected by CRC-32. + Individual state files in pg_twophase are protected by CRC-32C.