1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-24 00:23:06 +03:00

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
This commit is contained in:
Melanie Plageman
2025-01-16 18:42:39 -05:00
parent 7b6468cc95
commit f7a8fc10cc
4 changed files with 63 additions and 32 deletions

View File

@@ -264,6 +264,7 @@ BitmapAndState
BitmapHeapPath
BitmapHeapScan
BitmapHeapScanInstrumentation
BitmapHeapScanDesc
BitmapHeapScanState
BitmapIndexScan
BitmapIndexScanState