Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wIano-008Eza-2L for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Apr 2026 23:28:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wIann-009Ghb-2r for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Apr 2026 23:28:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wIann-009GhT-0V for pgsql-hackers@lists.postgresql.org; Thu, 30 Apr 2026 23:28:15 +0000 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wIanl-00000003b6R-03p1 for pgsql-hackers@lists.postgresql.org; Thu, 30 Apr 2026 23:28:14 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 7FB117A0098; Thu, 30 Apr 2026 19:28:12 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Thu, 30 Apr 2026 19:28:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1777591692; x=1777678092; bh=DKzdKMs0Sa +N4rn87Tn7uNdaGOZDDEKvpGwWjEl9Ay8=; b=PMoXGFJXDmCRi1WpqJIlAjjA1x uGWbT+0ko0zwcLrwGg1maRQGtcukoQM1MjIVM6I+u1646iwrYtI0z0DuQuOiFfC4 +KbZwfEZ5kZUaWDEiE+TCCjmMJImI79f3j+KgY2p/hLjNHnNZwL+ArXWQHsiV4VN psFjr4DH7123Tt+ne3RMg/B7lib1ej8OUOPVXSQBfKgmRq+CbfdHnSkRUBsZMtht EJt4p2EffMYx9eEAmod0P5AZyZ9W2fqCPrXDspMS8mZ9jn8WQ1tOpJhbrtzWDJid IfGNq1nVk8yxHQlCTC9dtrvp2Zql/kzCdTVah53dLNKO70+xsRIE4upqSzDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1777591692; x=1777678092; bh=DKzdKMs0Sa+N4rn87Tn7uNdaGOZDDEKvpGw WjEl9Ay8=; b=YhDfmndqsoSKhEsy1N0kqf9NSAwiL83kxlSsOf4tvpSIaRdngGA bv23tKR7gL3QmRrm7jb43ZzIXMUF8EN7ECS1R8UkuCjVo62Hsh6wky6QWZiW2qd4 tjyFvgDO/uT3B80iZnHl00l4yZ5M1aslpmdJ4+RkY+I4w+JEUgbK2y/+647fRQTi d74FCc7LvO+VJ3qS0okCi7znumAMnEfHbgr3SOkxALgCfuI7gMo1YdkYlbBkojYo jAiI3Frr22EkPFvSomqzBuYszolhgQzuKO+1Yai3VvFfWzdRasXold4NAzHXPNc4 IvoiEwONnTqsbYTGZvEtCVcxYatVgivUiWg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdekkeeigecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeggeff hfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehmohgrlh hirdhpghesghhmrghilhdrtghomhdprhgtphhtthhopehsrghmihhmshgvihhhsehgmhgr ihhlrdgtohhmpdhrtghpthhtohepthhrihhsthgrnhdrhihimhesghhmrghilhdrtghomh dprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgv shhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Apr 2026 19:28:10 -0400 (EDT) Date: Fri, 1 May 2026 08:28:06 +0900 From: Michael Paquier To: Mohamed ALi Cc: Sami Imseih , Haibo Yan , pgsql-hackers@lists.postgresql.org Subject: Re: [PATCH] Fix: Partitioned parent index remains invalid after child indexes are repaired Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7URjRZI9kFnNgz5h" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --7URjRZI9kFnNgz5h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > "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 --7URjRZI9kFnNgz5h Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmnz5YYACgkQnvQgOdby QH33ew//cK3hmHmTBAC9cB+0qWFL03FIwGN23aYI0ibZFUi97CzWUlYVvP/epMHM jULyfwzzD7TIQMYgkePDBxvxyNc7aKCyvDVG/l4MxbdrLVjZwUIPzFw6NIUeRy/3 oLzJWuJmK2rANvJtHzMkGlCkIX/iUplyX1H18JokNhGn20Mg+9RrbGz8RPfluYhP 6YRL3XtAXrSDx30KHEwpfbDIhyPS2gl0ffU7M7ZX/1MXac9nqqg10HDCbBR+afQc gbTKYetFgXlfUP9EOrJRe1QHbnTMcFIwEzjp2trJtSPE0kKgXYiOsptKq699wQhi TKCaEHZf7DhyXid/jzh0I8R5R8Jg+fLsS3sM9bOgwzGFe9G2sqcc7sD/7PCLAXHV FjPR/sv5JoMGSY55QB3fB75UzwLmF8l8/JRuBQ0xieL/K2+ggiwcXmtW2xS21l+7 KgzzfGRtLzk0FC2kvoLePKAT2QbmL2B6hoCZJcSepg305FEKNVtax8IZgaZDYY4P FDIzNu8mDHfe1iDJNCGLEpFGNoscSS4N4xGhosGYKRr9BW6eXIBhCiZHN4R+0okh dQEl5NOVLAlXpQ8e+p7RUq9cdH4zXbZwoRJjMyB16dcr8qxXevcoPKEBpt6yRGJ1 RP4kCDRQIbpmsJMg1DmDVy1+65rqfaf0e39Zcfsp773rl7ma6a8= =gTf0 -----END PGP SIGNATURE----- --7URjRZI9kFnNgz5h--