mirror of
https://github.com/postgres/postgres.git
synced 2026-01-26 09:41:40 +03:00
Remove redundant SET enable_partitionwise_join = on.
partition_join.sql keeps partitionwise join enabled for the entire file, so we don't need to enable it for this test case individually. Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Discussion: http://postgr.es/m/CAExHW5uRW=Z==bmLR=NXm6Vv3JGH4rUvb+Rfft8TfjrfzUUm3g@mail.gmail.com
This commit is contained in:
@@ -5194,7 +5194,6 @@ ANALYZE fract_t;
|
||||
-- (avoid merge joins, because the costs of partitionwise and non-partitionwise
|
||||
-- merge joins tend to be almost equal, and we want this test to be stable)
|
||||
SET max_parallel_workers_per_gather = 0;
|
||||
SET enable_partitionwise_join = on;
|
||||
SET enable_mergejoin = off;
|
||||
EXPLAIN (COSTS OFF)
|
||||
SELECT x.id, y.id FROM fract_t x LEFT JOIN fract_t y USING (id) ORDER BY x.id ASC LIMIT 10;
|
||||
|
||||
@@ -1225,7 +1225,6 @@ ANALYZE fract_t;
|
||||
-- (avoid merge joins, because the costs of partitionwise and non-partitionwise
|
||||
-- merge joins tend to be almost equal, and we want this test to be stable)
|
||||
SET max_parallel_workers_per_gather = 0;
|
||||
SET enable_partitionwise_join = on;
|
||||
SET enable_mergejoin = off;
|
||||
|
||||
EXPLAIN (COSTS OFF)
|
||||
|
||||
Reference in New Issue
Block a user