Dear Boris, There is a similar idea which parallelize the initialization. Not sure, is there an interactions or comparison between them? Your patch seems to divide a transaction into several parts but everything is done by the single thread, whereas proposed in [1] is to dispatch to other threads.
[1]: https://commitfest.postgresql.org/patch/6242/ Best regards, Hayato Kuroda FUJITSU LIMITED
