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

Alexander Kuzmenkov <a.kuzmenkov@postgrespro.ru>

From: Alexander Kuzmenkov <a.kuzmenkov@postgrespro.ru>
To: Alexey Chernyshov <a.chernyshov@postgrespro.ru>, pgsql-hackers@postgresql.org
Date: 2017-09-04T16:17:42Z
Lists: pgsql-hackers

Attachments

On 04.09.2017 15:17, Alexey Chernyshov wrote:
> make check-world fails on contrib/postgres_fdw because of Subquery Scan on ... Probably, query plan was changed.

Hi Alexey,

Thanks for testing! This is the same problem as the one in 
'select_distinct' I mentioned before. I changed the test, the updated 
patch is attached.

-- 
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.