Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuEh9-0006EO-3y for pgsql-bugs@arkaria.postgresql.org; Thu, 26 May 2022 14:42:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nuEh7-0001iJ-Vc for pgsql-bugs@arkaria.postgresql.org; Thu, 26 May 2022 14:42:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuEh7-0001iA-NX for pgsql-bugs@lists.postgresql.org; Thu, 26 May 2022 14:42:33 +0000 Received: from smtp89.ord1c.emailsrvr.com ([108.166.43.89]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuEh5-000392-A5 for pgsql-bugs@lists.postgresql.org; Thu, 26 May 2022 14:42:32 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp4.relay.ord1c.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id F10CAA00D9; Thu, 26 May 2022 10:42:28 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: BUG #17485: Records missing from Primary Key index when doing REINDEX INDEX CONCURRENTLY From: Christophe Pettus In-Reply-To: Date: Thu, 26 May 2022 07:41:28 -0700 Cc: Michael Paquier , Peter Geoghegan , Robert Haas , Alvaro Herrera , Andres Freund , Andrey Borodin , =?utf-8?B?0J/QtdGC0YrRgCDQodC70LDQstC+0LI=?= , PostgreSQL mailing lists X-Mailbutler-Message-Id: A75B73A8-4A06-48AF-940F-5FB3A909DEFC Content-Transfer-Encoding: quoted-printable Message-Id: References: <202205251643.2py5jjpaw7wy@alvherre.pgsql> To: Bruce Momjian X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Classification-ID: 27fc92b0-0b97-4d25-adf0-7a9a69484056-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On May 26, 2022, at 07:40, Bruce Momjian wrote: >=20 > Uh, if people don't know if they have used CREATE/REINDEX CONCURRENTLY > in PG 14.0+, they are going to need to run amcheck on all btree = indexes > and reindex all non-btree indexes? That is going to be a painful > message to deliver, and hear. :-( Unless we are 100% sure that amcheck will never return a false negative = in this situation, we may have to recommend reindexing everything. = Ouch.=