Re: pgsql: Skip full index scan during cleanup of B-tree indexeswhen possi - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: Skip full index scan during cleanup of B-tree indexeswhen possi
Date
Msg-id 20180405021215.GD1732@paquier.xyz
Whole thread Raw
In response to Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On Wed, Apr 04, 2018 at 08:58:14PM -0400, Tom Lane wrote:
> Peter Geoghegan <pg@bowt.ie> writes:
> > I also see an assertion failure within _bt_getrootheight():
>
> > TRAP: FailedAssertion("!(metad->btm_version == 3)", File:
> > "/home/pg/postgresql/root/build/../source/src/backend/access/nbtree/nbtpage.c",
> > Line: 619)
>
> Hm, buildfarm's not complaining --- what's the test case?

Hm.  No problems here either with a56e267 and gcc 7.3.  The warnings are
here for sure, and any compiler would complain about those.
--
Michael

Attachment

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi
Next
From: Peter Geoghegan
Date:
Subject: Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi