diff options
| author | Robert Haas | 2011-02-17 21:03:28 +0000 |
|---|---|---|
| committer | Robert Haas | 2011-02-17 21:03:28 +0000 |
| commit | 4a25bc145ad5d05da6f01c00bae0f576e9e17115 (patch) | |
| tree | 82f6bfe16bd3e37f205cf7ff5ded07ddb60cfd97 /src/include/pgstat.h | |
| parent | a3e8486dffc413506b14eae9dc5d423f6ae8324a (diff) | |
Add client_hostname field to pg_stat_activity.
Peter Eisentraut, reviewed by Steve Singer, Alvaro Herrera, and me.
Diffstat (limited to 'src/include/pgstat.h')
| -rw-r--r-- | src/include/pgstat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h index 0414b19868..1ab1ac838f 100644 --- a/src/include/pgstat.h +++ b/src/include/pgstat.h @@ -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; |
