Re: Fix --missing-stats-only false positive for partitioned expression indexes - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Fix --missing-stats-only false positive for partitioned expression indexes
Date
Msg-id ajF98PlhOWkc3pWf@nathan
Whole thread
In response to Re: Fix --missing-stats-only false positive for partitioned expression indexes  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: Fix --missing-stats-only false positive for partitioned expression indexes
List pgsql-hackers
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.pgdev@gmail.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



pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: Fix --missing-stats-only false positive for partitioned expression indexes
Next
From: Baji Shaik
Date:
Subject: Re: Fix --missing-stats-only false positive for partitioned expression indexes