From: Robert Haas Date: Mon, 5 Jan 2026 16:57:24 +0000 (-0500) Subject: Remove redundant SET enable_partitionwise_join = on. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f33b63de278615130367d182c38e29661d588e2;p=thirdparty%2Fpostgresql.git 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 Discussion: http://postgr.es/m/CAExHW5uRW=Z==bmLR=NXm6Vv3JGH4rUvb+Rfft8TfjrfzUUm3g@mail.gmail.com --- diff --git a/src/test/regress/expected/partition_join.out b/src/test/regress/expected/partition_join.out index 559b87ec66e..c6301744fc7 100644 --- a/src/test/regress/expected/partition_join.out +++ b/src/test/regress/expected/partition_join.out @@ -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; diff --git a/src/test/regress/sql/partition_join.sql b/src/test/regress/sql/partition_join.sql index d153297acba..19a6d19a99c 100644 --- a/src/test/regress/sql/partition_join.sql +++ b/src/test/regress/sql/partition_join.sql @@ -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)