Hi pgsql hacker,
Recently I have been trying to understand why GUC changes will be visible even though they are done in the signal handler as part of
ProcessConfigfile (done in some extension code). Later I have seen almost all postgresql processes/bgworkers use signal handler to set a variable
ConfigReloadPending which will later be read in main code to process guc changes but for postmaster
ProcessConfigfile is being called from signal handler itself which intern has memory allocation related code (non-async safe code). Is it safe to do this?
Regards,
Narayana