Re: index-only count(*) for indexes supporting bitmap scans

Alexander Kuzmenkov <a.kuzmenkov@postgrespro.ru>

From: Alexander Kuzmenkov <a.kuzmenkov@postgrespro.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alexey Chernyshov <a.chernyshov@postgrespro.ru>, pgsql-hackers@postgresql.org
Date: 2017-11-13T08:34:17Z
Lists: pgsql-hackers
> I've pushed the executor part of this, but mostly not the planner part,
> because I didn't think the latter was anywhere near ready for prime
> time: the regression test changes it was causing were entirely bogus.
>
Hi Tom,

Thanks for the commit and the explanation. I'll try to address your 
comments if I continue working on the planner part.

-- 

Alexander Kuzmenkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



Commits

  1. Allow bitmap scans to operate as index-only scans when possible.