diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/equivclass.out /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/results/equivclass.out
--- /tmp/cirrus-ci-build/src/test/regress/expected/equivclass.out	2025-01-30 23:23:15.913583000 +0000
+++ /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/results/equivclass.out	2025-01-30 23:25:48.710142000 +0000
@@ -533,3 +533,49 @@
 (5 rows)
 
 abort;
+explain (costs off)
+select subq_0.c0 as c8 from
+  (select case when true then ref_0.phase else ref_0.phase end as c0
+   from
+   pg_catalog.pg_stat_progress_cluster as ref_0
+   right join public.ec1 as sample_0
+   on true
+  ) as subq_0
+  right join information_schema.routines on true;
+                                                           QUERY PLAN                                                           
+--------------------------------------------------------------------------------------------------------------------------------
+ Nested Loop Left Join
+   ->  Nested Loop
+         ->  Nested Loop
+               ->  Merge Left Join
+                     Merge Cond: (p.prorettype = t.oid)
+                     Join Filter: (p.prokind <> 'p'::"char")
+                     ->  Sort
+                           Sort Key: p.prorettype
+                           ->  Seq Scan on pg_proc p
+                                 Filter: (pg_has_role(proowner, 'USAGE'::text) OR has_function_privilege(oid, 'EXECUTE'::text))
+                     ->  Sort
+                           Sort Key: t.oid
+                           ->  Nested Loop
+                                 ->  Seq Scan on pg_type t
+                                 ->  Memoize
+                                       Cache Key: t.typnamespace
+                                       Cache Mode: logical
+                                       ->  Index Only Scan using pg_namespace_oid_index on pg_namespace nt
+                                             Index Cond: (oid = t.typnamespace)
+               ->  Memoize
+                     Cache Key: p.pronamespace
+                     Cache Mode: logical
+                     ->  Index Only Scan using pg_namespace_oid_index on pg_namespace n
+                           Index Cond: (oid = p.pronamespace)
+         ->  Memoize
+               Cache Key: p.prolang
+               Cache Mode: logical
+               ->  Index Only Scan using pg_language_oid_index on pg_language l
+                     Index Cond: (oid = p.prolang)
+   ->  Materialize
+         ->  Nested Loop Left Join
+               ->  Seq Scan on ec1 sample_0
+               ->  Function Scan on pg_stat_get_progress_info s
+(33 rows)
+