Kevin Grittner wrote:
> I know this issue on this thread has come up at least one or two
> other times lately:
>
> http://archives.postgresql.org/pgsql-performance/2007-08/msg00113.php
>
> I know it's a largely independent issue, but your comment about the
> API not giving access to the index tuples echoed comments regarding
> what it would take to allow optimizations in this area.
If we do separate the index scan and heap fetch to two executor nodes,
it would handle that case as well, I think. It's not directly related to
index-only scans, but returning data from an index is required for that
as well.
It wouldn't be a bitmap index scan anymore, BTW.
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com