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

From Peter Geoghegan
Subject Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi
Date
Msg-id CAH2-WzkPyNWJ4c6LPto5ePnrJ6Kcwq_V0G7Wx9Wn54jpvg=W5g@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Responses Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi
List pgsql-committers
On Wed, Apr 4, 2018 at 3:32 PM, Alexander Korotkov
<a.korotkov@postgrespro.ru> wrote:
> Hi!
>
> On Wed, Apr 4, 2018 at 7:29 PM, Teodor Sigaev <teodor@sigaev.ru> wrote:
>>
>> Skip full index scan during cleanup of B-tree indexes when possible
>
>
> Thank you for committing this.
>
> It appears that patch contains some redundant variabled.  See warnings
> produced
> by gcc-7.

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)

-- 
Peter Geoghegan


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Improve indentation of SQL examples