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

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>
Cc: Teodor Sigaev <teodor(at)sigaev(dot)ru>, pgsql-committers <pgsql-committers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi
Date: 2018-04-05 00:00:13
Message-ID: CAH2-WzkPyNWJ4c6LPto5ePnrJ6Kcwq_V0G7Wx9Wn54jpvg=W5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Wed, Apr 4, 2018 at 3:32 PM, Alexander Korotkov
<a(dot)korotkov(at)postgrespro(dot)ru> wrote:
> Hi!
>
> On Wed, Apr 4, 2018 at 7:29 PM, Teodor Sigaev <teodor(at)sigaev(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-04-05 00:58:12 pgsql: doc: Improve indentation of SQL examples
Previous Message Alexander Korotkov 2018-04-04 22:32:36 Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi