mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Add client_hostname field to pg_stat_activity.
Peter Eisentraut, reviewed by Steve Singer, Alvaro Herrera, and me.
This commit is contained in:
@ -628,6 +628,7 @@ typedef struct PgBackendStatus
|
||||
Oid st_databaseid;
|
||||
Oid st_userid;
|
||||
SockAddr st_clientaddr;
|
||||
char *st_clienthostname; /* MUST be null-terminated */
|
||||
|
||||
/* Is backend currently waiting on an lmgr lock? */
|
||||
bool st_waiting;
|
||||
|
Reference in New Issue
Block a user