PostgreSQL: pg_stat_replication
pg_stat_replication, на сайте с May 25, 2023 05:49
The pg_stat_replication view will contain one row per WAL sender process, showing statistics about replication to that sender's connected standby server. Only directly connected standbys are listed; no information is available about downstream standby servers.