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

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi
Дата
Msg-id CAH2-WzkPyNWJ4c6LPto5ePnrJ6Kcwq_V0G7Wx9Wn54jpvg=W5g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Ответы Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: pgsql: Skip full index scan during cleanup of B-tree indexes when possi
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Improve indentation of SQL examples