Hi, + * Simple signal handler for processes HAVE NOT yet touched or DO NOT
I think there should be a 'which' between processes and HAVE. It seems the words in Capital letters should be in lower case. + * Simple signal handler for processes have touched shared memory to + * exit quickly. Add 'which' between processes and have. unlink(fname); + + elog(DEBUG2, "removing stats file \"%s\"", fname); It seems the return value from unlink should be checked and reflected in the debug message. Thanks On Tue, Mar 16, 2021 at 4:09 PM Masahiro Ikeda <ikeda...@oss.nttdata.com> wrote: > On 2021-03-16 13:44, kuroda.hay...@fujitsu.com wrote: > > Dear Ikeda-san > > > > I think the idea is good. > > > > I read the patch and other sources, and I found > > process_startup_packet_die also execute _exit(1). > > I think they can be combined into one function and moved to > > interrupt.c, but > > some important comments might be removed. How do you think? > > Hi, Kuroda-san. > Thanks for your comments. > > I agreed that your idea. > I combined them into one function and moved the comments to > the calling function side. > (v2-0001-pgstat_avoid_writing_on_sigquit.patch) > > Regards, > -- > Masahiro Ikeda > NTT DATA CORPORATION