summaryrefslogtreecommitdiff
path: root/t/CP_Testing.pm
diff options
context:
space:
mode:
Diffstat (limited to 't/CP_Testing.pm')
-rw-r--r--t/CP_Testing.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/CP_Testing.pm b/t/CP_Testing.pm
index 95ed1e0fd..7d4b6e9a3 100644
--- a/t/CP_Testing.pm
+++ b/t/CP_Testing.pm
@@ -143,6 +143,13 @@ sub test_database_handle {
print $cfh qq{max_fsm_pages = 99999\n};
}
+ ## >= 9.4
+ if ($imaj > 9 or ($imaj==9 and $imin >= 4)) {
+ print $cfh qq{max_replication_slots = 2\n};
+ print $cfh qq{wal_level = logical\n};
+ print $cfh qq{max_wal_senders = 2\n};
+ }
+
print $cfh "\n";
close $cfh or die qq{Could not close "$cfile": $!\n};