]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Put back explicit setting of replication values within TAP tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Oct 2020 14:59:20 +0000 (10:59 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Oct 2020 14:59:20 +0000 (10:59 -0400)
commit26f4c14d7bcf53c4674055e53e69d94801ed8f68
tree54f9bfd621ce3194891a3e4198fb6d12cb3a1537
parent3ae6ed9187bcd285eb8c099ea90dff8b09086e9a
Put back explicit setting of replication values within TAP tests.

Commit 151c0c5f7 neglected the possibility that a TEMP_CONFIG file
would explicitly set max_wal_senders=0; as indeed buildfarm member
thorntail does, so that it can test wal_level=minimal in other test
suites.  Hence, rather than assuming that max_wal_senders=10 will
prevail if we say nothing, set it explicitly.

Set max_replication_slots=10 explicitly too, just to be safe.

Back-patch to v10, like the previous patch.

Discussion: https://postgr.es/m/723911.1601417626@sss.pgh.pa.us
src/test/perl/PostgresNode.pm