From de829ddf23f69190efb4e0178704c4c4228e17cd Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Fri, 12 Mar 2021 19:07:27 +1300 Subject: Add condition variable for walreceiver shutdown. Use this new CV to wait for walreceiver shutdown without a sleep/poll loop, while also benefiting from standard postmaster death handling. Discussion: https://postgr.es/m/CA%2BhUKGK1607VmtrDUHQXrsooU%3Dap4g4R2yaoByWOOA3m8xevUQ%40mail.gmail.com --- doc/src/sgml/monitoring.sgml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 1ba813bbb9a..c35045faa1a 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1766,6 +1766,10 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser Waiting for confirmation from a remote server during synchronous replication. + + WalrcvExit + Waiting for the walreceiver to exit. + XactGroupUpdate Waiting for the group leader to update transaction status at -- cgit v1.2.3