Re: [PATCH] Fix: Partitioned parent index remains invalid after child indexes are repaired

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Mohamed ALi <moali(dot)pg(at)gmail(dot)com>
Cc: Sami Imseih <samimseih(at)gmail(dot)com>, Haibo Yan <tristan(dot)yim(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Fix: Partitioned parent index remains invalid after child indexes are repaired
Date: 2026-04-30 23:28:06
Message-ID: afPlhhHece0pr2Wd@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 29, 2026 at 02:36:09PM -0700, Mohamed ALi wrote:
> I have attached a small doc-only patch that adds a paragraph to the
> ALTER INDEX documentation:
>
> "If the named index is already attached to the altered index, the
> command will attempt to validate the parent index if the parent
> is currently invalid."

That sounds like a good idea to me to mention this behavior in the
docs, as you are suggesting. That's less guesses a user would need to
do, just more reading and something we can directly point at.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2026-05-01 01:13:57 Re: ri_LockPKTuple misleading message
Previous Message Chao Li 2026-04-30 23:24:11 Re: Fix race condition in XLogLogicalInfo and ProcSignal initialization.