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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5edc63bda68a77c4d38f0cbeae1c4271f9ef4100
Modified Files
--------------
src/backend/nodes/tidbitmap.c | 37 +++++++++++++++-------
src/backend/optimizer/path/costsize.c | 59 +++++++++++++++++++++++++++++------
src/include/nodes/tidbitmap.h | 1 +
3 files changed, 75 insertions(+), 22 deletions(-)