@@ -3597,9 +3597,11 @@ include_dir 'conf.d'
3597
3597
</para>
3598
3598
<para>
3599
3599
This parameter can only be set in the <filename>postgresql.conf</filename>
3600
- file or on the server command line. It is ignored unless
3600
+ file or on the server command line. It is only used if
3601
3601
<varname>archive_mode</varname> was enabled at server start and
3602
- <varname>archive_library</varname> is set to an empty string.
3602
+ <varname>archive_library</varname> is set to an empty string. If both
3603
+ <varname>archive_command</varname> and <varname>archive_library</varname>
3604
+ are set, an error will be raised.
3603
3605
If <varname>archive_command</varname> is an empty string (the default) while
3604
3606
<varname>archive_mode</varname> is enabled (and <varname>archive_library</varname>
3605
3607
is set to an empty string), WAL archiving is temporarily
@@ -3624,7 +3626,9 @@ include_dir 'conf.d'
3624
3626
<para>
3625
3627
The library to use for archiving completed WAL file segments. If set to
3626
3628
an empty string (the default), archiving via shell is enabled, and
3627
- <xref linkend="guc-archive-command"/> is used. Otherwise, the specified
3629
+ <xref linkend="guc-archive-command"/> is used. If both
3630
+ <varname>archive_command</varname> and <varname>archive_library</varname>
3631
+ are set, an error will be raised. Otherwise, the specified
3628
3632
shared library is used for archiving. The WAL archiver process is
3629
3633
restarted by the postmaster when this parameter changes. For more
3630
3634
information, see <xref linkend="backup-archiving-wal"/> and
0 commit comments