Pass ItemPointer not HeapTuple to IndexBuildCallback.

Andres Freund <andres@anarazel.de>

Commit: aae50236e4ce95c05a3962be0814c74c5a22206d
Author: Andres Freund <andres@anarazel.de>
Date: 2019-11-08T19:49:29Z
Releases: 13.0
Pass ItemPointer not HeapTuple to IndexBuildCallback.

Not all AMs use HeapTuples internally, making it inconvenient to pass
a HeapTuple. As the index callbacks really only need the TID, not the
full tuple, modify callback to only take ItemPointer.

Author: Ashwin Agrawal
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/CALfoeis6=8ehuR=VNtHvj3z16cYfCwPdTcpaxU+sfSUJ5QgR3g@mail.gmail.com

Files

Discussion