Content-Length: 269178 | pFad | http://github.com/postgrespro/postgres/commit/2128cebcdb2f32303baf200fa2ccb2947366c636

FD Remove extra prefetch iterator setup for Bitmap Table Scan · postgrespro/postgres@2128ceb · GitHub
Skip to content

Commit 2128ceb

Browse files
Remove extra prefetch iterator setup for Bitmap Table Scan
1a0da34 replaced Bitmap Table Scan's separate private and shared bitmap iterators with a unified iterator. It accidentally set up the prefetch iterator twice for non-parallel bitmap table scans. Remove the extra set up call to tbm_begin_iterate().
1 parent 754c610 commit 2128ceb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/backend/executor/nodeBitmapHeapscan.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,6 @@ BitmapHeapNext(BitmapHeapScanState *node)
105105
elog(ERROR, "unrecognized result from subplan");
106106

107107
node->tbm = tbm;
108-
109-
#ifdef USE_PREFETCH
110-
if (node->prefetch_maximum > 0)
111-
node->prefetch_iterator =
112-
tbm_begin_iterate(node->tbm, dsa,
113-
pstate ?
114-
pstate->prefetch_iterator :
115-
InvalidDsaPointer);
116-
#endif /* USE_PREFETCH */
117108
}
118109
else if (BitmapShouldInitializeSharedState(pstate))
119110
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/2128cebcdb2f32303baf200fa2ccb2947366c636

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy