On Tue Aug 4, 2026 at 9:26 AM CEST, Álvaro Herrera wrote: > Hello Alberto, > > On 2026-Apr-07, Alberto Piai wrote: > >> While working on [0], I noticed that DROP EXPRESSION currently refuses >> to be applied to inheritance trees of depth > 2, e.g. when there are >> subpartitions. > > Yep, confirmed. > >> PFA a fix for this and a test case. >> >> I added the test case to generated_stored.sql, > > Looks good. I pushed your fix, with two minor changes:
Thanks for pushing this, and for taking the time to explain your improvements. Much appreciated! > > I think you didn't add a commitfest entry for this. I created one a while back, for some reason it didn't pick up your latest mail. But that's maybe because it's assigned to PG20-1 which is closed now. Anyway I updated it, so that's wrapped up now :) Alberto -- Alberto Piai Sensational AG Zürich, Switzerland
