RE: POC: enable logical decoding when wal_level = 'replica' without a server restart
Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>
From: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
To: 'Masahiko Sawada' <sawada.mshk@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>
Cc: shveta malik <shveta.malik@gmail.com>, Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>, Shlok Kyal <shlok.kyal.oss@gmail.com>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2025-10-16T08:46:39Z
Lists: pgsql-hackers
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. Best regards, Hayato Kuroda FUJITSU LIMITED