pgsql: Put back explicit setting of replication values within TAP tests

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Put back explicit setting of replication values within TAP tests
Date: 2020-10-01 14:59:37
Message-ID: E1kO03V-0003UY-8d@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6731f1ef19fdf912cfbf2686a4d344a022b7704b

Modified Files
--------------
src/test/perl/PostgresNode.pm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-10-02 00:41:12 pgsql: Add block information in error context of WAL REDO apply loop
Previous Message Heikki Linnakangas 2020-10-01 10:21:17 pgsql: Fix incorrect assertion on number of array dimensions.