From: Fujii Masao <masao.fu...@oss.nttdata.com>
> I think that we can improve that, for example, by storing backend id
> into WalSndCtl and making pg_stat_get_wal_senders() directly
> get the walsender's LocalPgBackendStatus with the backend id,
> rather than joining pg_stat_get_activity() and pg_stat_get_wal_senders().

Yeah, I had something like that in mind.  I think I'll take note of this as my 
private homework.  (Of course, anyone can do it.)


Regards
Takayuki Tsunakawa





Reply via email to