pg_stat_replication.client_hostname
Host name of the connected client, as reported by a reverse DNS lookup of client_addr. This field will only be non-null for IP connections, and only when log_hostname is enabled.
Reading PG 18·Select a recorded version
- View
- pg_stat_replication
- Field
- client_hostname
- SQL type
- text
- Units named in the field definition
- Not specified
- Reset observation
- No stats_reset field is documented for this view
- documented
- true
- field
- client_hostname
- manual path
- /docs/18/monitoring-stats.html
- signature
- SELECT client_hostname FROM pg_catalog.pg_stat_replication;
- source only
- false
- sql type
- text
- units mentioned
- Unknown
- view
- pg_stat_replication
Definition PG 18
Host name of the connected client, as reported by a reverse DNS lookup of client_addr. This field will only be non-null for IP connections, and only when log_hostname is enabled.
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f