Re: BUG #19949: pg_partition_tree() returns dropped partition from cached OID list

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: imchifan(at)163(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19949: pg_partition_tree() returns dropped partition from cached OID list
Date: 2026-12-01 00:40:27
Message-ID: CAGRkXqQK2s=+6xMh_PTMBqcfuynxoW1RfonTEuM8KVHgc6ijgA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Qifan,

I am leaning toward not a bug because all the rows of
pg_partition_tree() are already built before drop_p1() runs. So the
query drops the table under its own result. It is not specific to
this function. Selecting inhrelid::regclass from pg_inherits with
drop_p1() next to it shows a numeric OID too.

Thanks,
Shihao

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message shihao zhong 2026-12-01 00:42:47 Re: information_schema.applicable_roles reports a role with no usable membership option
Previous Message shihao zhong 2026-12-01 00:38:43 Re: BUG #19947: Rules see parent generated expression instead of routed partition's expression