On Tue, Jun 16, 2026 at 12:40:11PM -0400, Corey Huinker wrote:
> On Tue, Jun 16, 2026 at 12:26 PM Baji Shaik <baji(dot)pgdev(at)gmail(dot)com> wrote:
>> Good point. v2 moves the check inside the EXISTS as
>> "AND NOT p.inherited", consistent with how the inheritance
>> sections below handle it.
>
> The refactor I was testing differed only in having the new qual one line
> higher (above the attstattarget check vs below it). Looks good to me.
We could remove the final "AND s.stainherit = p.inherited" in this part of
the clause, too, right?
--
nathan