Re: Returning nbtree posting list TIDs in DESC order during backwards scans

Поиск
Список
Период
Сортировка
От Mircea Cadariu
Тема Re: Returning nbtree posting list TIDs in DESC order during backwards scans
Дата
Msg-id c80edb72-709d-4b30-8a78-ef59a9287d77@gmail.com
обсуждение исходный текст
Ответ на Returning nbtree posting list TIDs in DESC order during backwards scans  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: Returning nbtree posting list TIDs in DESC order during backwards scans
Список pgsql-hackers
Hi,


> -    for (int i = 0; i < numKilled; i++)
> +    for (int i = so->currPos.firstItem; i <= so->currPos.lastItem; i++)

Does the above change mean it will have to do more work in the loop? 
Whereas before it visited strictly killed, it now has to go through all 
of them?


Kind regards,

Mircea Cadariu




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