pgsql: Change BitmapAdjustPrefetchIterator to accept BlockNumber - Mailing list pgsql-committers

From Tomas Vondra
Subject pgsql: Change BitmapAdjustPrefetchIterator to accept BlockNumber
Date
Msg-id E1rtFPy-000sdq-22@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Change BitmapAdjustPrefetchIterator to accept BlockNumber

BitmapAdjustPrefetchIterator() only used the blockno member of the
passed in TBMIterateResult to ensure that the prefetch iterator and
regular iterator stay in sync. Pass it the BlockNumber only, so that we
can move away from using the TBMIterateResult outside of table AM
specific code.

Author: Melanie Plageman
Reviewed-by: Tomas Vondra, Andres Freund, Heikki Linnakangas
Discussion: https://postgr.es/m/CAAKRu_ZwCwWFeL_H3ia26bP2e7HiKLWt0ZmGXPVwPO6uXq0vaA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/92641d8d651e685b49a6e2842d306aa5fe7ba500

Modified Files
--------------
src/backend/executor/nodeBitmapHeapscan.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tomas Vondra
Date:
Subject: pgsql: BitmapHeapScan: Use correct recheck flag for skip_fetch
Next
From: Tom Lane
Date:
Subject: pgsql: Support retrieval of results in chunks with libpq.