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:26:34 +0000 (11:26 -0400)
commit3e63e8462f31657c8ae1c541c92daf43ede8f038
tree22b363ee3d8343b88a9cd8a167be0b1ea61eb551
parent27f1774aac1f8ffe642b55e78dbe0b64ed082cc6
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