mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +03:00
Tweak wording of documentation for pg_checksums
Author: Justin Pryzby Discussion: https://postgr.es/m/20190329143210.GI5815@telsasoft.com
This commit is contained in:
@@ -39,16 +39,16 @@ PostgreSQL documentation
|
|||||||
<application>pg_checksums</application> checks, enables or disables data
|
<application>pg_checksums</application> checks, enables or disables data
|
||||||
checksums in a <productname>PostgreSQL</productname> cluster. The server
|
checksums in a <productname>PostgreSQL</productname> cluster. The server
|
||||||
must be shut down cleanly before running
|
must be shut down cleanly before running
|
||||||
<application>pg_checksums</application>. The exit status is zero if there
|
<application>pg_checksums</application>. When verifying checksums, the exit
|
||||||
are no checksum errors when checking them, and nonzero if at least one
|
status is zero if there are no checksum errors, and nonzero if at least one
|
||||||
checksum failure is detected. If enabling or disabling checksums, the
|
checksum failure is detected. When enabling or disabling checksums, the
|
||||||
exit status is nonzero if the operation failed.
|
exit status is nonzero if the operation failed.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
While checking or enabling checksums needs to scan or write every file in
|
When verifying checksums, every file in the cluster is scanned. When
|
||||||
the cluster, disabling checksums will only update the file
|
enabling checksums, every file in the cluster is rewritten. Disabling
|
||||||
<filename>pg_control</filename>.
|
checksums only updates the file <filename>pg_control</filename>.
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
@@ -218,10 +218,9 @@ PostgreSQL documentation
|
|||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
If <application>pg_checksums</application> is aborted or killed while
|
If <application>pg_checksums</application> is aborted or killed while
|
||||||
enabling or disabling checksums, the cluster will keep the same
|
enabling or disabling checksums, the cluster's data checksum configuration
|
||||||
configuration for data checksums as before the operation attempted.
|
remains unchanged, and <application>pg_checksums</application> can be
|
||||||
<application>pg_checksums</application> can be restarted to
|
re-run to perform the same operation.
|
||||||
attempt again the same operation.
|
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
</refentry>
|
</refentry>
|
||||||
|
Reference in New Issue
Block a user