tableam: Support for an index build's initial table scan(s).

Andres Freund <andres@anarazel.de>

Commit: 2a96909a4a8c38705163b83a81b228d5aec197f9
Author: Andres Freund <andres@anarazel.de>
Date: 2019-03-28T02:59:06Z
Releases: 12.0
tableam: Support for an index build's initial table scan(s).

To support building indexes over tables of different AMs, the scans to
do so need to be routed through the table AM.  While moving a fair
amount of code, nearly all the changes are just moving code to below a
callback.

Currently the range based interface wouldn't make much sense for non
block based table AMs. But that seems aceptable for now.

Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de

Files

Documentation touched

Discussion