Re: Add WAL read stats to pg_stat_wal
| От | Kyotaro Horiguchi |
|---|---|
| Тема | Re: Add WAL read stats to pg_stat_wal |
| Дата | |
| Msg-id | 20230221.120032.1717422466695488514.horikyota.ntt@gmail.com обсуждение исходный текст |
| Ответ на | Re: Add WAL read stats to pg_stat_wal (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>) |
| Список | pgsql-hackers |
At Mon, 20 Feb 2023 20:15:00 +0530, Bharath Rupireddy <bharath.rupireddyforpostgres@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
В списке pgsql-hackers по дате отправления: