create table public.a (id bigint not null primary key) partition by range (id);
create table b partition of a for values from (0) to (1000);

-- works as expected
explain select a.id from a left join b using (id);
-- indexlist is set to late
explain select a.id from a left join a a1 using (id);
