From: | Melanie Plageman <melanieplageman(at)gmail(dot)com> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add and use BitmapHeapScanDescData struct |
Date: | 2025-01-16 23:44:36 |
Message-ID: | E1tYZXQ-001zbg-G8@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f7a8fc10ccb882249f8624b937f2c3b467d07bd6
Modified Files
--------------
src/backend/access/heap/heapam.c | 48 ++++++++++++++++++++++----------
src/backend/access/heap/heapam_handler.c | 18 +++++++-----
src/include/access/heapam.h | 24 ++++++++++------
src/tools/pgindent/typedefs.list | 1 +
4 files changed, 61 insertions(+), 30 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-01-17 01:40:26 | pgsql: Fix setrefs.c's failure to do expression processing on prune ste |
Previous Message | Michael Paquier | 2025-01-16 23:27:23 | pgsql: Rework macro pgstat_is_ioop_tracked_in_bytes() |