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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak order of operations in BitmapHeapNext() to avoid the case
Date: 2009-01-12 16:00:41
Message-ID: 20090112160041.DBA70754877@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Gregory Stark 2009-01-12 17:19:05 Re: pgsql: Tweak order of operations in BitmapHeapNext() to avoid the case
Previous Message Peter Eisentraut 2009-01-12 14:06:20 pgsql: Add some minimal documentation that the SQL standard requires

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Smet 2009-01-12 16:07:08 Re: Recovery Test Framework
Previous Message Merlin Moncure 2009-01-12 15:56:37 Re: Recovery Test Framework