Account for the effect of lossy pages when costing bitmap scans.
authorRobert Haas <rhaas@postgresql.org>
Fri, 10 Nov 2017 21:50:50 +0000 (16:50 -0500)
committerRobert Haas <rhaas@postgresql.org>
Fri, 10 Nov 2017 21:50:50 +0000 (16:50 -0500)
commit5edc63bda68a77c4d38f0cbeae1c4271f9ef4100
tree214cd7c2d8fe70017061fb3e4fc803437d78f19a
parent0c98d0dd5c85ce0c8485ae1a8351a26b83c4338b
Account for the effect of lossy pages when costing bitmap scans.

Dilip Kumar, reviewed by Alexander Kumenkov, Amul Sul, and me.
Some final adjustments by me.

Discussion: http://postgr.es/m/CAFiTN-sYtqUOXQ4SpuhTv0Z9gD0si3YxZGv_PQAAMX8qbOotcg@mail.gmail.com
src/backend/nodes/tidbitmap.c
src/backend/optimizer/path/costsize.c
src/include/nodes/tidbitmap.h