Re: [WIP PATCH] Index scan offset optimisation using visibility map

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема Re: [WIP PATCH] Index scan offset optimisation using visibility map
Дата
Msg-id 7C1D5AF6-DA3A-4B43-A3CF-25432DFF0F76@yandex-team.ru
обсуждение исходный текст
Ответ на Re: [WIP PATCH] Index scan offset optimisation using visibility map  ("Tels" <nospam-pg-abuse@bloodgate.com>)
Ответы Re: [WIP PATCH] Index scan offset optimisation using visibility map  (Michail Nikolaev <michail.nikolaev@gmail.com>)
Список pgsql-hackers

> 7 марта 2018 г., в 3:25, Tels <nospam-pg-abuse@bloodgate.com> написал(а):
>
> It could be named "SkipTuples" (e.g. this is the number of tuples we need
> to skip, not the number we have skipped), and the other one then
> "iss_SkipTuplesRemaining" so they are consistent with each other.

I agree that name sounds strange (even for my globish ear).

I'm not sure, but may be this
!         Assert(!(scandesc->numberOfOrderBys > 0 && scandesc->xs_recheckorderby));
should be if() elog(ERROR,...); ?
Also, I think that this check could be removed from loop. We do not expect that it's state will change during
execution,do we? 

Besides this, I think the patch is ready for committer.

Best regards, Andrey Borodin.

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

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Missing break statement after transformCallStmt in transformStmt
Следующее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: RE: Speed up the removal of WAL files