t...@postgresql.org (Tom Lane) writes: > 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.
Doesn't this break things if, say, there's precisely one tuple on every page? You'll keep raising the prefetch_target but never actually prefetch anything. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training! -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers