From 2fa1e5ffe36992889c35c08e59f34faa57d00f9a Mon Sep 17 00:00:00 2001 From: Sait Talha Nisanci Date: Tue, 24 Aug 2021 10:05:20 +0300 Subject: [PATCH] Use the default max_parallel_workers_per_gather for vanilla --- src/test/regress/pg_regress_multi.pl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/test/regress/pg_regress_multi.pl b/src/test/regress/pg_regress_multi.pl index 29195285f..5fd945320 100755 --- a/src/test/regress/pg_regress_multi.pl +++ b/src/test/regress/pg_regress_multi.pl @@ -420,8 +420,13 @@ if (-e $hll_control) } push(@pgOptions, "shared_preload_libraries='${sharedPreloadLibraries}'"); -# Avoid parallelism to stabilize explain plans -push(@pgOptions, "max_parallel_workers_per_gather=0"); +if ($vanillatest) { + # use the default used in vanilla tests + push(@pgOptions, "max_parallel_workers_per_gather=2"); +}else { + # Avoid parallelism to stabilize explain plans + push(@pgOptions, "max_parallel_workers_per_gather=0"); +} # Help with debugging push(@pgOptions, "log_error_verbosity = 'verbose'");