1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Move archive-header-check option to the archive reference section.

This commit is contained in:
David Steele 2021-09-30 16:15:45 -04:00
parent cf1a57518f
commit 376362475e
2 changed files with 23 additions and 23 deletions

View File

@ -974,6 +974,16 @@ option:
async: {}
main: {}
archive-header-check:
section: global
type: boolean
default: true
command:
archive-push: {}
command-role:
main: {}
async: {}
archive-push-queue-max:
section: global
type: size
@ -1016,16 +1026,6 @@ option:
command-role:
main: {}
archive-header-check:
section: global
type: boolean
default: true
command:
archive-push: {}
command-role:
main: {}
async: {}
archive-mode-check:
section: global
type: boolean

View File

@ -997,19 +997,6 @@
<example>y</example>
</config-key>
<!-- ======================================================================================================= -->
<config-key id="archive-header-check" name="Check WAL Headers">
<summary>Check PostgreSQL version/id in WAL headers.</summary>
<text>
<p>Enabled by default, this option checks the WAL header against the <postgres/> version and system identifier to ensure that the WAL is being copied to the correct stanza. This is in addition to checking <file>pg_control</file> against the stanza and verifying that WAL is being copied from the same <postgres/> data directory where <file>pg_control</file> is located.</p>
<p>Therefore, disabling this check is fairly safe but should only be done when needed, e.g. if the WAL is encrypted.</p>
</text>
<example>n</example>
</config-key>
<!-- ======================================================================================================= -->
<config-key id="archive-mode-check" name="Check Archive Mode">
<summary>Check the <postgres/> <setting>archive_mode</setting> setting.</summary>
@ -1170,6 +1157,19 @@
<example>1073741824</example>
</config-key>
<!-- ======================================================================================================= -->
<config-key id="archive-header-check" name="Check WAL Headers">
<summary>Check PostgreSQL version/id in WAL headers.</summary>
<text>
<p>Enabled by default, this option checks the WAL header against the <postgres/> version and system identifier to ensure that the WAL is being copied to the correct stanza. This is in addition to checking <file>pg_control</file> against the stanza and verifying that WAL is being copied from the same <postgres/> data directory where <file>pg_control</file> is located.</p>
<p>Therefore, disabling this check is fairly safe but should only be done when needed, e.g. if the WAL is encrypted.</p>
</text>
<example>n</example>
</config-key>
<!-- CONFIG - ARCHIVE SECTION - ARCHIVE-QUEUE-MAX KEY -->
<config-key id="archive-push-queue-max" name="Maximum Archive Push Queue Size">
<summary>Maximum size of the <postgres/> archive queue.</summary>