Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3tEM-0007Yz-2Y for pgsql-committers@arkaria.postgresql.org; Thu, 05 Apr 2018 00:58:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3tEK-00010N-No for pgsql-committers@arkaria.postgresql.org; Thu, 05 Apr 2018 00:58:20 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3tEK-00010E-Ca for pgsql-committers@lists.postgresql.org; Thu, 05 Apr 2018 00:58:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3tEH-000687-73 for pgsql-committers@lists.postgresql.org; Thu, 05 Apr 2018 00:58:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w350wFr2002156; Wed, 4 Apr 2018 20:58:15 -0400 From: Tom Lane To: Peter Geoghegan cc: Alexander Korotkov , Teodor Sigaev , pgsql-committers Subject: Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi In-reply-to: References: Comments: In-reply-to Peter Geoghegan message dated "Wed, 04 Apr 2018 17:00:13 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2154.1522889894.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 04 Apr 2018 20:58:14 -0400 Message-ID: <2155.1522889894@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Geoghegan writes: > I also see an assertion failure within _bt_getrootheight(): > TRAP: FailedAssertion("!(metad->btm_version =3D=3D 3)", File: > "/home/pg/postgresql/root/build/../source/src/backend/access/nbtree/nbtp= age.c", > Line: 619) Hm, buildfarm's not complaining --- what's the test case? regards, tom lane