pgsql: Move BitmapTableScan per-scan setup into a helper

Поиск
Список
Период
Сортировка
От Melanie Plageman
Тема pgsql: Move BitmapTableScan per-scan setup into a helper
Дата
Msg-id E1tdbAZ-004U9U-Jo@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Move BitmapTableScan per-scan setup into a helper

Add BitmapTableScanSetup(), a helper which contains all of the code that
must be done on every scan of the table in a bitmap table scan. This
includes scanning the index, building the bitmap, and setting up the
scan descriptors.

Pushing this setup into a helper function makes BitmapHeapNext() more
readable.

Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://postgr.es/m/CAN55FZ1vXu%2BZdT0_MM-i1vbTdfHHf0KR3cK6R5gs6dNNNpyrJw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a5358c14b2fe2210a1ac0b836f8d54723043fba2

Modified Files
--------------
src/backend/executor/nodeBitmapHeapscan.c | 206 ++++++++++++++++--------------
1 file changed, 107 insertions(+), 99 deletions(-)


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