pgsql: Add lossy indicator to TBMIterateResult

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add lossy indicator to TBMIterateResult
Date: 2025-02-24 21:11:19
Message-ID: E1tmfjT-000VmO-0N@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add lossy indicator to TBMIterateResult

TBMIterateResult->ntuples is -1 when the page in the bitmap is lossy.
Add an explicit lossy indicator so that we can move ntuples out of the
TBMIterateResult in a future commit.

Discussion: https://postgr.es/m/CA%2BhUKGLHbKP3jwJ6_%2BhnGi37Pw3BD5j2amjV3oSk7j-KyCnY7Q%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b8778c4cd8bc924ce5347cb1ab10dfbf34130559

Modified Files
--------------
src/backend/access/gin/ginget.c | 6 ++++--
src/backend/access/heap/heapam_handler.c | 10 +++++-----
src/backend/nodes/tidbitmap.c | 11 ++++++++---
src/include/nodes/tidbitmap.h | 5 +++--
4 files changed, 20 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-02-24 21:35:37 pgsql: oauth: Rename macro to avoid collisions on Windows
Previous Message Nathan Bossart 2025-02-24 21:02:20 pgsql: Fix comment for MAX_BACKENDS.