diff options
author | Melanie Plageman <melanieplageman@gmail.com> | 2025-01-30 15:26:55 -0500 |
---|---|---|
committer | Melanie Plageman <melanieplageman@gmail.com> | 2025-01-30 15:28:33 -0500 |
commit | a5358c14b2fe2210a1ac0b836f8d54723043fba2 (patch) | |
tree | 1bba2e0c58b6ee76e167e820af109ef332885127 /src/backend/utils/misc/stack_depth.c | |
parent | 115a365519bfd53a65bf17d253b26902eff0c337 (diff) | |
download | postgresql-a5358c14b2fe2210a1ac0b836f8d54723043fba2.tar.gz postgresql-a5358c14b2fe2210a1ac0b836f8d54723043fba2.zip |
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
Diffstat (limited to 'src/backend/utils/misc/stack_depth.c')
0 files changed, 0 insertions, 0 deletions