When using the WAL-logged CREATE DATABASE strategy, bulk extend.
authorRobert Haas <[email protected]>
Thu, 18 Aug 2022 15:09:39 +0000 (11:09 -0400)
committerRobert Haas <[email protected]>
Thu, 18 Aug 2022 15:22:48 +0000 (11:22 -0400)
commit576bb0fc93423890761f77384415936bf61267d3
tree651508f3f2993381935e3aa887b3fcf770361180
parent9c4c22fdfeab86a65fdba9d2fe63879c034001ae
When using the WAL-logged CREATE DATABASE strategy, bulk extend.

This should improve performance, and was suggested by Andres Freund.
Back-patch to v15 to keep the code consistent across branches.

Dilip Kumar

Discussion: http://postgr.es/m/C3458199-FEDD-4356-865A-08DFAA5D4065@anarazel.de
Discussion: http://postgr.es/m/CAFiTN-sJ0vVpJrZ=R5M+g7Tr8=NN4wKOtrqOcDEsfFfnZgivVA@mail.gmail.com
src/backend/storage/buffer/bufmgr.c