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