diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-10-16 08:45:09 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-10-16 08:48:10 +0200 |
commit | 04bec894a04cb0d32533f1522ab81b7016141ff1 (patch) | |
tree | 0fdb1a99f7c316c3a5715507bed82a56af9b37bc /doc/src | |
parent | 67846550dc6d7d90db4d98cdd8a8440725ef5c65 (diff) | |
download | postgresql-04bec894a04cb0d32533f1522ab81b7016141ff1.tar.gz postgresql-04bec894a04cb0d32533f1522ab81b7016141ff1.zip |
initdb: Change default to using data checksums.
Checksums are now on by default. They can be disabled by the
previously added option --no-data-checksums.
Author: Greg Sabino Mullane <greg@turnstep.com>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/CAKAnmmKwiMHik5AHmBEdf5vqzbOBbcwEPHo4-PioWeAbzwcTOQ@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/initdb.sgml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml index b8207438910..0c32114cf70 100644 --- a/doc/src/sgml/ref/initdb.sgml +++ b/doc/src/sgml/ref/initdb.sgml @@ -265,8 +265,14 @@ PostgreSQL documentation <term><option>--data-checksums</option></term> <listitem> <para> - Use checksums on data pages to help detect corruption by the - I/O system that would otherwise be silent. Enabling checksums + Use checksums on data pages to help detect corruption by the I/O + system that would otherwise be silent. This is enabled by default; + use <xref linkend="app-initdb-no-data-checksums"/> to disable + checksums. + </para> + + <para> + Enabling checksums might incur a small performance penalty. If set, checksums are calculated for all objects, in all databases. All checksum failures will be reported in the @@ -343,12 +349,11 @@ PostgreSQL documentation </listitem> </varlistentry> - <varlistentry id="app-initdb-no-data-checksums" xreflabel="no data checksums"> + <varlistentry id="app-initdb-no-data-checksums"> <term><option>--no-data-checksums</option></term> <listitem> <para> - Do not enable data checksums. This can be used to override a - <option>--data-checksums</option> option. + Do not enable data checksums. </para> </listitem> </varlistentry> |