↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Statistics & Metrics

pg_stat_activity.client_addr

IP address of the client connected to this backend. If this field is null, it indicates either that the client is connected via a Unix socket on the server machine or that this is an internal process such as autovacuum.

Reading PG 18·Select a recorded version

View
pg_stat_activity
Field
client_addr
SQL type
inet
Units named in the field definition
Not specified
Reset observation
No stats_reset field is documented for this view
documented
true
field
client_addr
manual path
/docs/18/monitoring-stats.html
signature
SELECT client_addr FROM pg_catalog.pg_stat_activity;
source only
false
sql type
inet
units mentioned
Unknown
view
pg_stat_activity

Definition PG 18

IP address of the client connected to this backend. If this field is null, it indicates either that the client is connected via a Unix socket on the server machine or that this is an internal process such as autovacuum.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f