At Fri, 05 Aug 2022 17:22:38 +0900 (JST), Kyotaro Horiguchi <horikyota....@gmail.com> wrote in > Thus I thought that we may let pgstat_initialize() promptly allocate > the memory. > > Does it make sense? > > > About the patch, I had something like the attached in my mind.
I haven't fully checked, but this change might cause all other calls to CreateCacheMemoryContext useless. regards. -- Kyotaro Horiguchi NTT Open Source Software Center