Tweak order of operations in BitmapHeapNext() to avoid the case of prefetching
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 12 Jan 2009 16:00:41 +0000 (16:00 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 12 Jan 2009 16:00:41 +0000 (16:00 +0000)
commit4ceb7fb28d4f88c74c37fcd919d543a0a5136238
tree0ca6cb0eea961db69818ddebc006b7b8e06e631e
parent3060f90db0ffd5754355d5363b247b59970abbfa
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.
src/backend/executor/nodeBitmapHeapscan.c