At Mon, 20 Feb 2023 20:15:00 +0530, Bharath Rupireddy <bharath.rupireddyforpostg...@gmail.com> wrote in > Having said that, what's the problem if we use shared memory to report > the shutdown checkpoint to the postmaster? In case of abnormal > shutdown where shared memory gets corrupted, we don't even write a > shutdown checkpoint, no? In such a case, the postmaster doesn't send > SIGUSR2 to the checkpointer, instead it sends SIGQUIT. AFICS, using > shared memory doesn't seem to have any problem. Do you have any other > thoughts in mind?
I had a baseless belief that postmaster doesn't touch shared memory, but as Andres suggested, SendPostmasterSignal() already does that. regards. -- Kyotaro Horiguchi NTT Open Source Software Center