Re: [PATCH] Fix: Partitioned parent index remains invalid after child indexes are repaired
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Mohamed ALi <moali.pg@gmail.com>
Cc: Sami Imseih <samimseih@gmail.com>, Haibo Yan <tristan.yim@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2026-04-30T23:28:06Z
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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
doc: Mention validation attempt during ALTER INDEX .. ATTACH PARTITION
- d36a668f5d79 14.23 landed
- e4f035de455e 15.18 landed
- 8f2429ff24fe 16.14 landed
- 1f0a58a0c212 17.10 landed
- 7a24fad3d9f3 18.4 landed
- 0916282a0606 19 (unreleased) landed
-
Allow ALTER INDEX .. ATTACH PARTITION to validate a parent index
- d809b16d1bd2 14.23 landed
- 0859000d0d71 15.18 landed
- 313355d68016 16.14 landed
- becf6d26961a 17.10 landed
- 5713ac248f26 18.4 landed
- 9d3e094f12cc 19 (unreleased) landed