Re: pgsql: Support parallel btree index builds.

2021-06-07 Thread Peter Geoghegan
On Mon, Jun 7, 2021 at 4:11 PM Alvaro Herrera wrote: > Now, if you do look at _bt_leafbuild(), it can be seen that nothing is > done differently there either; we're not actually skipping any calls to > tuplesort_performsort(). Any differentiation between serial/leader/ > worker cases seems to be

Re: pgsql: Support parallel btree index builds.

2021-06-07 Thread Alvaro Herrera
On 2018-Feb-02, Robert Haas wrote: > Support parallel btree index builds. While looking at a complaint related to progress report of parallel index builds[1], I noticed this comment + /* +* Execute this worker's part of the sort. +* +* Unlike leader and serial cases, we cannot avoi