Disallow setting archive_library and archive_command at the same time
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 15 Nov 2022 09:03:12 +0000 (10:03 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 15 Nov 2022 09:03:47 +0000 (10:03 +0100)
commitd627ce3b706de16279d8eb683bfeda34ad7197fe
treef547a03a5b8e3f3c1a1ecc15164ce905d15a4f48
parent8b5262fa0efdd515a05e533c2a1198e7b666f7d8
Disallow setting archive_library and archive_command at the same time

Setting archive_library and archive_command at the same time is now an
error.  Before, archive_library would take precedence over
archive_command.

Author: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Discussion: https://www.postgresql.org/message-id/20220914222736.GA3042279%40nathanxps13
doc/src/sgml/config.sgml
src/backend/postmaster/pgarch.c