Re: Fix --missing-stats-only false positive for partitioned expression indexes

From: Baji Shaik <baji(dot)pgdev(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix --missing-stats-only false positive for partitioned expression indexes
Date: 2026-06-16 16:26:28
Message-ID: CA+fm-RMpbi+eVtZPTVirJQZGTe5E1piTRPdtupcGGbNgcbdfNA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 16, 2026 at 11:14 AM Nathan Bossart <nathandbossart(at)gmail(dot)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 Content-Type Size
v2-0001-Fix-vacuumdb-missing-stats-only-false-positive-for-p.patch application/octet-stream 2.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2026-06-16 16:27:35 Re: Disable startup progress timeout during standby WAL replay
Previous Message Tom Lane 2026-06-16 16:24:45 Re: Improving the names generated for indexes on expressions