pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Melanie Plageman <melanieplageman@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add lossy indicator to TBMIterateResult
Date: Mon, 24 Feb 2025 21:11:19 +0000
Message-ID: <E1tmfjT-000VmO-0N@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1tmfjT-000VmO-0N@gemulon.postgresql.org>
Permalink:  ../E1tmfjT-000VmO-0N@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tmfjT-000VmO-0N@gemulon.postgresql.org

 · 

reply

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 lossy indicator to TBMIterateResult
  In-Reply-To: <E1tmfjT-000VmO-0N@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