]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Remove redundant SET enable_partitionwise_join = on.
authorRobert Haas <rhaas@postgresql.org>
Mon, 5 Jan 2026 16:57:24 +0000 (11:57 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 5 Jan 2026 16:57:24 +0000 (11:57 -0500)
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

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

index 559b87ec66e3ae72debd62ba28d5a8142b03ca9b..c6301744fc75a58ccbe0ae842faa4fd95599a4e3 100644 (file)
@@ -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;
index d153297acba4156bb3b3fb0c3ed0a0f3db1149a5..19a6d19a99c91a131f9ea17fd7d230b79e356ea5 100644 (file)
@@ -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)