pg_stat_replication

The pg_stat_replication view contains metadata of the walsender process that is used for Greenplum Database master mirroring.

columntypereferencesdescription
procpidinteger Process ID of WAL sender backend process.
usesysidinteger User system ID that runs the WAL sender backend process
usenamename User name that runs WAL sender backend process.
application_nameoid Client application name.
client_addrname Client IP address.
client_portinteger Client port number.
backend_starttimestamp Operation start timestamp.
statetext WAL sender state.
The value can be:
startup
backup
catchup
streaming
sent_locationtext WAL sender xlog record sent location.
write_locationtext WAL receiver xlog record write location.
flush_locationtext WAL receiver xlog record flush location.
replay_locationtext Standby xlog record replay location.
sync_prioritytext Priorty. the value is 1.
sync_statetext WAL sender syncronization state. The value is sync.

Parent topic: System Catalogs Definitions