From: Melanie Plageman <melanieplageman@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add and use BitmapHeapScanDescData struct
Date: Thu, 16 Jan 2025 23:44:36 +0000
Message-ID: <E1tYZXQ-001zbg-G8@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: melanieplageman@gmail.com, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add and use BitmapHeapScanDescData struct
In-Reply-To: <E1tYZXQ-001zbg-G8@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox