Thread: pgsql: Tweak order of operations in BitmapHeapNext() to avoid the case

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

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/executor:
        nodeBitmapHeapscan.c (r1.33 -> r1.34)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeBitmapHeapscan.c?r1=1.33&r2=1.34)