Fix broken regression test caused by 22c4e88eb
authorDavid Rowley <drowley@postgresql.org>
Sun, 22 Aug 2021 13:44:20 +0000 (01:44 +1200)
committerDavid Rowley <drowley@postgresql.org>
Sun, 22 Aug 2021 13:44:20 +0000 (01:44 +1200)
Per buildfarm members hoverfly and thorntail

src/test/regress/expected/select_distinct.out
src/test/regress/sql/select_distinct.sql

index 0c8e10f88a5733f4215a09167fc09681b6c18bda..58122c6f887670c0acf916209d81e007a8baa347 100644 (file)
@@ -214,6 +214,7 @@ DROP TABLE distinct_group_2;
 SET parallel_tuple_cost=0;
 SET parallel_setup_cost=0;
 SET min_parallel_table_scan_size=0;
+SET max_parallel_workers_per_gather=2;
 -- Ensure we get a parallel plan
 EXPLAIN (costs off)
 SELECT DISTINCT four FROM tenk1;
@@ -274,6 +275,7 @@ SELECT DISTINCT distinct_func(1) FROM tenk1;
                ->  Parallel Seq Scan on tenk1
 (6 rows)
 
+RESET max_parallel_workers_per_gather;
 RESET min_parallel_table_scan_size;
 RESET parallel_setup_cost;
 RESET parallel_tuple_cost;
index e00582e46c14da3c029c97fc61277327cb3a379b..1bfe59c26f7136af810e507b30cdad6f80f10bc9 100644 (file)
@@ -111,6 +111,7 @@ DROP TABLE distinct_group_2;
 SET parallel_tuple_cost=0;
 SET parallel_setup_cost=0;
 SET min_parallel_table_scan_size=0;
+SET max_parallel_workers_per_gather=2;
 
 -- Ensure we get a parallel plan
 EXPLAIN (costs off)
@@ -140,6 +141,7 @@ $$ LANGUAGE plpgsql PARALLEL SAFE;
 EXPLAIN (COSTS OFF)
 SELECT DISTINCT distinct_func(1) FROM tenk1;
 
+RESET max_parallel_workers_per_gather;
 RESET min_parallel_table_scan_size;
 RESET parallel_setup_cost;
 RESET parallel_tuple_cost;