"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> The reason for switching to the new API instead of the amsuggestblock API is
> CPU overhead. It avoids constructing the IndexTuple twice and descending the
> tree twice.
I wonder if it's possible to finesse this. Have the suggestblock function
remember the last block it suggested and somehow recognize when it's given the
same tuple to index. Keeping the block pinned would still be the sticky point
though.
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com