1
0
mirror of https://github.com/postgres/postgres.git synced 2026-10-23 13:29:09 +03:00

doc: Fix data_checksums data type

Commit f19c0eccae changed the data_checksums GUC datatype from a
boolean to an enum.  This updates the documentation to accurately
reflect its new type and document the new possible states: 'on',
'off', 'inprogress-on', and 'inprogress-off'.

Also update the xref for more information to point to the section
on data checksums rather than the initdb checksum option.

Author: Lakshmi N <lakshmin.jhs@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CA+3i_M-AtTnqTB2KLBTpu-c-jvnTuy7bGxyxs80rgiQLxWrRUQ@mail.gmail.com
This commit is contained in:
Daniel Gustafsson
2026-04-08 22:53:43 +03:00
parent e0851bded6
commit b364828f82

View File

@@ -12182,15 +12182,17 @@ dynamic_library_path = '/usr/local/lib/postgresql:$libdir'
</varlistentry>
<varlistentry id="guc-data-checksums" xreflabel="data_checksums">
<term><varname>data_checksums</varname> (<type>boolean</type>)
<term><varname>data_checksums</varname> (<type>enum</type>)
<indexterm>
<primary><varname>data_checksums</varname> configuration parameter</primary>
</indexterm>
</term>
<listitem>
<para>
Reports whether data checksums are enabled for this cluster.
See <xref linkend="app-initdb-data-checksums"/> for more information.
Reports the state of data checksums for this cluster.
Possible values are <literal>on</literal>, <literal>off</literal>,
<literal>inprogress-on</literal> and <literal>inprogress-off</literal>.
See <xref linkend="checksums"/> for more information.
</para>
</listitem>
</varlistentry>