Following
8299471c37fff0b walsender procs are now visible in pg_stat_activity.
Set query to ‘walsender’ for walsender procs to allow them to be identified.
Discussion:CAB7nPqS8c76KPSufK_HSDeYrbtg+zZ7D0EEkjeM6txSEuCB_jA@mail.gmail.com
Michael Paquier, issue raised by Fujii Masao, reviewed by Tom Lane
last_reply_timestamp = GetCurrentTimestamp();
waiting_for_ping_response = false;
+ /* Report to pgstat that this process is a WAL sender */
+ pgstat_report_activity(STATE_RUNNING, "walsender");
+
/*
* Loop until we reach the end of this timeline or the client requests to
* stop streaming.