Thread: pgsql: Use AIO batchmode for bitmap heap scans

pgsql: Use AIO batchmode for bitmap heap scans

From
Melanie Plageman
Date:
Use AIO batchmode for bitmap heap scans

Previously bitmap heap scan was not AIO batchmode safe because of the
visibility map reads potentially done for the "skip fetch" optimization
(which skipped fetching tuples from the heap if the pages were all
visible and none of the columns were used in the query).

The skip fetch optimization implementation was found to have bugs and
was removed in 459e7bf8e2f8, so we can safely enable batchmode for
bitmap heap scans.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/67be093562b6b345c170417312dff22f467055ba

Modified Files
--------------
src/backend/access/heap/heapam.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)