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 1x19e8-0050hx-1C for pgsql-bugs@arkaria.postgresql.org; Mon, 31 Aug 2026 21:34:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x19e7-002K1w-0t for pgsql-bugs@arkaria.postgresql.org; Mon, 31 Aug 2026 21:34:27 +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 1x19e6-002K1o-2u for pgsql-bugs@lists.postgresql.org; Mon, 31 Aug 2026 21:34:27 +0000 Received: from smtp109.iad3a.emailsrvr.com ([173.203.187.109]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x19e5-00000003Mp5-0aCL for pgsql-bugs@lists.postgresql.org; Mon, 31 Aug 2026 21:34:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=g001.emailsrvr.com; s=feedback; t=1788212064; bh=HkzBZP3gwmnAWCUxJDGHaxHUOHslYHmyMYarEnd1VHg=; h=Subject:From:Date:To:From; b=dsC6oQDZTasF0G3A5QlJLV6cbCmALPkByRByJhLHU/WmzTxHUZDcsdjlpzimMSFZI 8wvS/duVtfBTrkBVuR26LLt5+lHrHxkcOhQUsCIObIQsAf8vGvOVndUNL5rJzDnlG3 vhEqmdAlHUATOIHFBSfvLRyv85pJn3XUnd/cOz4k= X-Auth-ID: xof@thebuild.com Received: by smtp38.relay.iad3a.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id 0F4E95819; Mon, 31 Aug 2026 17:34:23 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.12\)) Subject: Re: REPACK (CONCURRENTLY) doesn't handle invalid indexes From: Christophe Pettus In-Reply-To: Date: Mon, 31 Aug 2026 14:34:23 -0700 Cc: Kyotaro Horiguchi , pgsql-bugs@lists.postgresql.org, alvherre@kurilemu.de Content-Transfer-Encoding: quoted-printable Message-Id: <264AB6A4-640F-4E4B-99EB-61723CE71C1C@thebuild.com> References: <20260826.152841.502876403542656812.horikyota.ntt@gmail.com> To: Zsolt Parragi X-Mailer: Apple Mail (2.3776.700.51.11.12) X-Classification-ID: 65299401-6ff5-475f-9490-ce4410f599ec-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Aug 26, 2026, at 00:31, Zsolt Parragi = wrote: > Not allowing these commands (consistently) to work on tables with > invalid indexes is an option, but then that should be consistent > across all similar commands, and it will be a behavior change for > normal vacuum too. I think your statement has its own answer embedded in it: It's = acceptable for REPACK, a brand-new command, to have different behavior = in the presence of invalid indexes specifically because it would be a = behavior change if we pushed that change to other commands.=