BUG #15039: some question about hash index code

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #15039: some question about hash index code
Дата
Msg-id 151739848647.1239.12528851873396651946@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #15039: some question about hash index code  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15039
Logged by:          lixian zou
Email address:      zoulx1982@163.com
PostgreSQL version: 10.0
Operating system:   source code
Description:

hi,
i read hash index code , and found in _hash_addovflpage function, there is
such code :
if (metap->hashm_firstfree == orig_firstfree)
{
    metap->hashm_firstfree = bit + 1;
    MarkBufferDirty(metabuf);
}

i found no any chang for metap,metap->hashm_firstfree,and initial the two
variable is equal, so maybe the if statement is redundant?

thanks.


В списке pgsql-bugs по дате отправления:

Предыдущее
От: Greg Clough
Дата:
Сообщение: RE: BUG #15038: Upgrade 8.4 to 9.2 - LC_Collate differs
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: BUG #15039: some question about hash index code