On 2021-Sep-18, Michael Paquier wrote: > Could it be possible to rely on a combination of wait events set in WAL > senders and pg_stat_replication to assume that a WAL sender is in a > stopped state?
Hmm, sounds a possibly useful idea to explore, but I would only do so if the other ideas prove fruitless, because it sounds like it'd have more moving parts. Can you please first test if the idea of sending the signal twice is enough? If that doesn't work, let's try Horiguchi-san's idea of using some `ps` flags to find the process. -- Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/ Al principio era UNIX, y UNIX habló y dijo: "Hello world\n". No dijo "Hello New Jersey\n", ni "Hello USA\n".