inspect_walsenders
Check active walsender connections on the publisher, displaying per-connection state, write/flush/replay lag, and sync status to identify replication delays.
Instructions
Inspect active walsender connections and their lag.
Deterministic. Reads pg_stat_replication: per-connection state, write/flush/replay lag (both as time intervals and as LSN byte diffs from sent_lsn), and sync_state. Run this on the PUBLISHER.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |