Parallel Bitmap Heap Scan - Prefetch pages are not updated properly

From: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Parallel Bitmap Heap Scan - Prefetch pages are not updated properly
Date: 2017-04-04 10:24:19
Message-ID: CAFiTN-uKAvRhWprb0i-U9zFOekgQRRwqjP1wvOBsKZb-UEKbug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While analyzing the coverage for the prefetching part, I found an
issue that prefetch_pages were not updated properly while executing in
parallel mode.

Attached patch fixes the same.

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

Attachment Content-Type Size
parallel_bitmap_prefetch_fix.patch application/octet-stream 485 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2017-04-04 10:24:49 Re: Supporting huge pages on Windows
Previous Message Michael Paquier 2017-04-04 10:08:53 Re: Compiler warning in costsize.c