aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2024-08-09 10:52:37 -0500
committerNathan Bossart <nathan@postgresql.org>2024-08-09 10:52:37 -0500
commit8c3548613d7e2a7c010360e6f55fa6db849eeef9 (patch)
tree71f4e14bf29d40a8cd2bd97c62c1085cd56e0bf8 /doc/src
parentb919a97a6cd204cbd9b77d12c9e60ad59eea04a4 (diff)
downloadpostgresql-8c3548613d7e2a7c010360e6f55fa6db849eeef9.tar.gz
postgresql-8c3548613d7e2a7c010360e6f55fa6db849eeef9.zip
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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/wal.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml
index 05e2a8f8be9..d5df65bc693 100644
--- a/doc/src/sgml/wal.sgml
+++ b/doc/src/sgml/wal.sgml
@@ -186,7 +186,7 @@
<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.
@@ -212,7 +212,7 @@
</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>