Fix broken regression test caused by 22c4e88eb

Per buildfarm members hoverfly and thorntail
This commit is contained in:
David Rowley 2021-08-23 01:44:20 +12:00
parent 22c4e88ebf
commit 945f395aeb
2 changed files with 4 additions and 0 deletions

View 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;

View 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;