diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/partition_join.out /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/results/partition_join.out --- /tmp/cirrus-ci-build/src/test/regress/expected/partition_join.out 2024-12-26 01:41:18.101028754 +0000 +++ /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/results/partition_join.out 2024-12-26 01:47:01.964386223 +0000 @@ -65,31 +65,24 @@ -- inner join with partially-redundant join clauses EXPLAIN (COSTS OFF) SELECT t1.a, t1.c, t2.b, t2.c FROM prt1 t1, prt2 t2 WHERE t1.a = t2.a AND t1.a = t2.b ORDER BY t1.a, t2.b; - QUERY PLAN ---------------------------------------------------------------- - Sort - Sort Key: t1.a + QUERY PLAN +--------------------------------------------------------- + Merge Join + Merge Cond: (t1.a = t2.a) -> Append - -> Merge Join - Merge Cond: (t1_1.a = t2_1.a) - -> Index Scan using iprt1_p1_a on prt1_p1 t1_1 - -> Sort - Sort Key: t2_1.b - -> Seq Scan on prt2_p1 t2_1 - Filter: (a = b) - -> Hash Join - Hash Cond: (t1_2.a = t2_2.a) - -> Seq Scan on prt1_p2 t1_2 - -> Hash - -> Seq Scan on prt2_p2 t2_2 - Filter: (a = b) - -> Hash Join - Hash Cond: (t1_3.a = t2_3.a) - -> Seq Scan on prt1_p3 t1_3 - -> Hash - -> Seq Scan on prt2_p3 t2_3 - Filter: (a = b) -(22 rows) + -> Index Scan using iprt1_p1_a on prt1_p1 t1_1 + -> Index Scan using iprt1_p2_a on prt1_p2 t1_2 + -> Index Scan using iprt1_p3_a on prt1_p3 t1_3 + -> Sort + Sort Key: t2.b + -> Append + -> Seq Scan on prt2_p1 t2_1 + Filter: (a = b) + -> Seq Scan on prt2_p2 t2_2 + Filter: (a = b) + -> Seq Scan on prt2_p3 t2_3 + Filter: (a = b) +(15 rows) SELECT t1.a, t1.c, t2.b, t2.c FROM prt1 t1, prt2 t2 WHERE t1.a = t2.a AND t1.a = t2.b ORDER BY t1.a, t2.b; a | c | b | c