set_walkeepsize_025_stuck_on_old_timeline_pl_9_6-12.patch

text/x-patch

Filename: set_walkeepsize_025_stuck_on_old_timeline_pl_9_6-12.patch
Type: text/x-patch
Part: 1
Message: Re: Race condition in recovery?

Patch

Format: unified
File+
src/test/recovery/t/025_stuck_on_old_timeline.pl 1 0
diff --git a/src/test/recovery/t/025_stuck_on_old_timeline.pl b/src/test/recovery/t/025_stuck_on_old_timeline.pl
index 0d96bb3c15..8099571299 100644
--- a/src/test/recovery/t/025_stuck_on_old_timeline.pl
+++ b/src/test/recovery/t/025_stuck_on_old_timeline.pl
@@ -27,6 +27,7 @@ $perlbin =~ s{\\}{\\\\}g if ($TestLib::windows_os);
 my $archivedir_primary = $node_primary->archive_dir;
 $node_primary->append_conf('postgresql.conf', qq(
 archive_command = '$perlbin "$FindBin::RealBin/cp_history_files" "%p" "$archivedir_primary/%f"'
+wal_keep_segments=8
 ));
 $node_primary->start;