Simplify description of --data-checksums in documentation of initdb

The documentation mentioned that data checksums cannot be changed after
initialization, which is not true as pg_checksums can do that with its
--enable option introduced in v12.  This simply removes the sentence
telling so.

Reported-by: Basil Bourque
Author: Michael Paquier
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/15909-e9d74271f1647472@postgresql.org
Backpatch-through: 12
This commit is contained in:
Michael Paquier 2019-07-18 10:06:50 +09:00
parent d4f283162e
commit 4ed6001d78

View File

@ -216,11 +216,10 @@ PostgreSQL documentation
<para> <para>
Use checksums on data pages to help detect corruption by the Use checksums on data pages to help detect corruption by the
I/O system that would otherwise be silent. Enabling checksums I/O system that would otherwise be silent. Enabling checksums
may incur a noticeable performance penalty. This option can only may incur a noticeable performance penalty. If set, checksums
be set during initialization, and cannot be changed later. If are calculated for all objects, in all databases. All checksum
set, checksums are calculated for all objects, in all databases. All failures will be reported in the
checksum failures will be reported in the <xref <xref linkend="pg-stat-database-view"/> view.
linkend="pg-stat-database-view"/> view.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>