Skip to content

Commit bd1b8d0

Browse files
committed
doc: Improve description of data checksums
This partially reverts bcf2667 that got incorrectly merged, and this improves the wording of the documentation that existed before that. Per discussion with Justin Pryzby. Discussion: https://postgr.es/m/20210301004647.GF20769@telsasoft.com
1 parent 8c1b6a1 commit bd1b8d0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/src/sgml/wal.sgml

+8-8
Original file line numberDiff line numberDiff line change
@@ -237,19 +237,19 @@
237237
</indexterm>
238238

239239
<para>
240-
By default, data pages are not protected by checksums, but this can optionally be
241-
enabled for a cluster. When enabled, each data page will be ASSIGNED a
242-
checksum that is updated when the page is written and verified each time
240+
By default, data pages are not protected by checksums, but this can
241+
optionally be enabled for a cluster. When enabled, each data page includes
242+
a checksum that is updated when the page is written and verified each time
243243
the page is read. Only data pages are protected by checksums; internal data
244244
structures and temporary files are not.
245245
</para>
246246

247247
<para>
248-
Checksums verification is normally ENABLED when the cluster is initialized using <link
248+
Checksums are normally enabled when the cluster is initialized using <link
249249
linkend="app-initdb-data-checksums"><application>initdb</application></link>.
250250
They can also be enabled or disabled at a later time as an offline
251251
operation. Data checksums are enabled or disabled at the full cluster
252-
level, and cannot be specified for individual databases or tables.
252+
level, and cannot be specified individually for databases or tables.
253253
</para>
254254

255255
<para>
@@ -260,9 +260,9 @@
260260
</para>
261261

262262
<para>
263-
When attempting to recover from corrupt data, it may be necessary to bypass
264-
the checksum protection. To do this, temporarily set the configuration
265-
parameter <xref linkend="guc-ignore-checksum-failure" />.
263+
When attempting to recover from page corruptions, it may be necessary to
264+
bypass the checksum protection. To do this, temporarily set the
265+
configuration parameter <xref linkend="guc-ignore-checksum-failure" />.
266266
</para>
267267

268268
<sect2 id="checksums-offline-enable-disable">

0 commit comments

Comments
 (0)