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

From Baji Shaik
Subject Re: Fix --missing-stats-only false positive for partitioned expression indexes
Date
Msg-id CA+fm-RMpbi+eVtZPTVirJQZGTe5E1piTRPdtupcGGbNgcbdfNA@mail.gmail.com
Whole thread
In response to Re: Fix --missing-stats-only false positive for partitioned expression indexes  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Fix --missing-stats-only false positive for partitioned expression indexes
List pgsql-hackers
On Tue, Jun 16, 2026 at 11:14 AM Nathan Bossart <nathandbossart@gmail.com> wrote:
I'm curious why you added this check to the beginning and surrounded the
rest with parentheses.  Wouldn't it be better to follow the example of the
surrounding clauses and an "AND NOT p.inherited" somewhere in the middle?

Good point. v2 moves the check inside the EXISTS as
"AND NOT p.inherited", consistent with how the inheritance
sections below handle it.

v2 attached.

Thanks,
Baji Shaik. 
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Improving the names generated for indexes on expressions
Next
From: Fujii Masao
Date:
Subject: Re: Disable startup progress timeout during standby WAL replay