Change the type of WalReceiverWaitStart wait event from Client to IPC.
authorFujii Masao <fujii@postgresql.org>
Tue, 23 Mar 2021 01:09:42 +0000 (10:09 +0900)
committerFujii Masao <fujii@postgresql.org>
Tue, 23 Mar 2021 01:09:42 +0000 (10:09 +0900)
commit1e3e8b51bda8ddd59984230f876f199c9ce3166a
treea2e9e464919db1b5d2f7c58309d75f2dff450cc7
parent51893c8463501fc9a38e39cc097773dbdfb9db82
Change the type of WalReceiverWaitStart wait event from Client to IPC.

Previously the type of this wait event was Client. But while this
wait event is being reported, walreceiver process is waiting for
the startup process to set initial data for streaming replication.
It's not waiting for any activity on a socket connected to a user
application or walsender. So this commit changes the type for
WalReceiverWaitStart wait event to IPC.

Author: Fujii Masao
Reviewed-by: Kyotaro Horiguchi
Discussion: https://postgr.es/m/cdacc27c-37ff-f1a4-20e2-ce19933abfcc@oss.nttdata.com
doc/src/sgml/monitoring.sgml
src/backend/postmaster/pgstat.c
src/include/pgstat.h