On Thu, Aug 22, 2024 at 05:37:13PM +0530, Lakshmi Narayana Velayudam wrote:
> 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?

I think this is no longer true as of v16, thanks to commit 7389aad [0].

[0] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=7389aad

-- 
nathan


Reply via email to