Re: POC: enable logical decoding when wal_level = 'replica' without a server restart

Поиск
Список
Период
Сортировка
От Masahiko Sawada
Тема Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Дата
Msg-id CAD21AoBBHKKAUW=DH5wUkwqi90yynRC5gHp0X5WuZLmMqTJHBA@mail.gmail.com
обсуждение исходный текст
Ответ на RE: POC: enable logical decoding when wal_level = 'replica' without a server restart  ("Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>)
Список pgsql-hackers
On Thu, Oct 16, 2025 at 1:46 AM Hayato Kuroda (Fujitsu)
<kuroda.hayato@fujitsu.com> wrote:
>
> Dear Sawada-san,
>
> > It's not harmful in practice. I've considered waking up the postmaster
> > with a new PMSignalReason, but I thought it's overkill to introduce a
> > new reason just to wake up the postmaster. If there is a convenient
> > way, I'd like to use that.
>
> It's not straightforward, but can we reuse SIGHUP signal for the purpose? This
> operation actually modifies the GUC parameter wal_level. One downside is that
> postmaster will propagated it to all processes, which is not required.

I think there is a big drawback that the server ends up reloading all
other GUC parameters, which might not be an expected timing for users.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com



В списке pgsql-hackers по дате отправления: