Tweak order of operations in BitmapHeapNext() to avoid the case of prefetching

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8a4505013d9f19979fa83fced5588311d3b123d2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-01-12T16:00:41Z
Releases: 8.4.0
Tweak order of operations in BitmapHeapNext() to avoid the case of prefetching
the same page we are nanoseconds away from reading for real.  There should be
something left to do on the current page before we consider issuing a prefetch.

Files

PathChange+/−
src/backend/executor/nodeBitmapHeapscan.c modified +13 −10