Add and use BitmapHeapScanDescData struct
Melanie Plageman <melanieplageman@gmail.com>
Add and use BitmapHeapScanDescData struct Move the several members of HeapScanDescData which are specific to Bitmap Heap Scans into a new struct, BitmapHeapScanDescData, which inherits from HeapScanDescData. This reduces the size of the HeapScanDescData for other types of scans and will allow us to add additional bitmap heap scan-specific members in the future without fear of bloating the HeapScanDescData. Reviewed-by: Tomas Vondra Discussion: https://postgr.es/m/c736f6aa-8b35-4e20-9621-62c7c82e2168%40vondra.me
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +33 −15 |
| src/backend/access/heap/heapam_handler.c | modified | +11 −7 |
| src/include/access/heapam.h | modified | +16 −8 |
| src/tools/pgindent/typedefs.list | modified | +1 −0 |
Discussion
- BitmapHeapScan streaming read user and prelim refactoring 248 messages · 2024-02-13 → 2025-04-17