On Mon, Apr 6, 2020 at 2:21 AM Amit Kapila <amit.kapil...@gmail.com> wrote: > AFAIU, it uses heapam_index_build_range_scan but for writing to index, > it doesn't use buffer manager.
Right. It doesn't need to use the buffer manager to write to the index, unlike (say) GIN's CREATE INDEX. -- Peter Geoghegan