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
-- (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;
-- (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)