On Wed, 2008-10-22 at 00:00 +0100, Gregory Stark wrote:
> Actually as I recall the immediate issue was that the patch was more complex
> than necessary. In particular it reimplemented parts of the executor
> internally rather than figuring out what api was necessary to integrate it
> fully into the executor.
>
> When we last left our heros they were proposing ways to refactor the index api
> to allow index ams to stream results to the executor in bitmap form. That
> would allow a scan of a bitmap index to return bitmap elements wholesale and
> have the executor apply bitmap operations to them along with the elements
> returned by a btree bitmap scan or other index ams.
The indexAM API has now been changed, so that is a simple matter now.
amgetbitmap() was committed on 10 April 2008.
-- Simon Riggs www.2ndQuadrant.comPostgreSQL Training, Services and Support