On Tue, Sep 21, 2021 at 12:08:22AM +0000, Bossart, Nathan wrote: > Should we also initialize the shared memory GUCs in bootstrap and > single-user mode? I think I missed this in bd17880.
Why would we need that for the bootstrap mode? While looking at the patch for shared_memory_size, I have looked at those code paths to note that some of the runtime GUCs would be set thanks to the load of the control file, but supporting this case sounded rather limited to me for --single when it came to shared memory and huge page estimation and we don't load shared_preload_libraries in this context either, which could lead to wrong estimations. Anyway, I am not going to fight hard if people would like that for the --single mode, even if it may lead to an underestimation of the shmem allocated. -- Michael
signature.asc
Description: PGP signature