From c3307bd73c7e8f9894fb5276f32c93a1d956aac9 Mon Sep 17 00:00:00 2001
From: Kyotaro Horiguchi <horikyoga.ntt@gmail.com>
Date: Mon, 23 Mar 2020 16:03:26 +0900
Subject: [PATCH v36 2/4] Fix GUC value in TAP test

2TB was too large for wal_skip_threshold on 32 bit platforms. Reduce
it to 1GB.
---
 src/test/recovery/t/018_wal_optimize.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/recovery/t/018_wal_optimize.pl b/src/test/recovery/t/018_wal_optimize.pl
index 50bb2fef61..c39998bb2a 100644
--- a/src/test/recovery/t/018_wal_optimize.pl
+++ b/src/test/recovery/t/018_wal_optimize.pl
@@ -107,7 +107,7 @@ wal_skip_threshold = 0
 	# Writing WAL at end of xact, instead of syncing.
 	$node->safe_psql(
 		'postgres', "
-		SET wal_skip_threshold = '1TB';
+		SET wal_skip_threshold = '1GB';
 		BEGIN;
 		CREATE TABLE noskip (id serial PRIMARY KEY);
 		INSERT INTO noskip (SELECT FROM generate_series(1, 20000) a) ;
-- 
2.18.2

