Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> writes:
> At the moment, amgettuple only returns pointers to heap tuples. There is
> no way to return data from the index tuples. That needs to be changed to
> support index-only scans.
What are you going to do for index types that don't store the original
data (e.g. hash)?
regards, tom lane