PostgreSQL Source Code  git master
PgBackendStatus Struct Reference

#include <pgstat.h>

Data Fields

int st_changecount
 
int st_procpid
 
BackendType st_backendType
 
TimestampTz st_proc_start_timestamp
 
TimestampTz st_xact_start_timestamp
 
TimestampTz st_activity_start_timestamp
 
TimestampTz st_state_start_timestamp
 
Oid st_databaseid
 
Oid st_userid
 
SockAddr st_clientaddr
 
char * st_clienthostname
 
bool st_ssl
 
PgBackendSSLStatusst_sslstatus
 
bool st_gss
 
PgBackendGSSStatusst_gssstatus
 
BackendState st_state
 
char * st_appname
 
char * st_activity_raw
 
ProgressCommandType st_progress_command
 
Oid st_progress_command_target
 
int64 st_progress_param [PGSTAT_NUM_PROGRESS_PARAM]
 

Detailed Description

Definition at line 1026 of file pgstat.h.

Field Documentation

◆ st_activity_raw

◆ st_activity_start_timestamp

TimestampTz PgBackendStatus::st_activity_start_timestamp

◆ st_appname

char* PgBackendStatus::st_appname

◆ st_backendType

BackendType PgBackendStatus::st_backendType

Definition at line 1050 of file pgstat.h.

Referenced by pg_stat_get_activity(), and pgstat_bestart().

◆ st_changecount

int PgBackendStatus::st_changecount

Definition at line 1044 of file pgstat.h.

Referenced by pgstat_bestart().

◆ st_clientaddr

SockAddr PgBackendStatus::st_clientaddr

◆ st_clienthostname

char* PgBackendStatus::st_clienthostname

◆ st_databaseid

Oid PgBackendStatus::st_databaseid

◆ st_gss

bool PgBackendStatus::st_gss

Definition at line 1069 of file pgstat.h.

Referenced by pg_stat_get_activity(), pgstat_bestart(), and pgstat_read_current_status().

◆ st_gssstatus

PgBackendGSSStatus* PgBackendStatus::st_gssstatus

◆ st_proc_start_timestamp

TimestampTz PgBackendStatus::st_proc_start_timestamp

Definition at line 1053 of file pgstat.h.

Referenced by pg_stat_get_activity(), pg_stat_get_backend_start(), and pgstat_bestart().

◆ st_procpid

◆ st_progress_command

ProgressCommandType PgBackendStatus::st_progress_command

◆ st_progress_command_target

Oid PgBackendStatus::st_progress_command_target

◆ st_progress_param

◆ st_ssl

bool PgBackendStatus::st_ssl

Definition at line 1065 of file pgstat.h.

Referenced by pg_stat_get_activity(), pgstat_bestart(), and pgstat_read_current_status().

◆ st_sslstatus

PgBackendSSLStatus* PgBackendStatus::st_sslstatus

◆ st_state

BackendState PgBackendStatus::st_state

Definition at line 1073 of file pgstat.h.

Referenced by pg_stat_get_activity(), pgstat_bestart(), and pgstat_report_activity().

◆ st_state_start_timestamp

TimestampTz PgBackendStatus::st_state_start_timestamp

Definition at line 1056 of file pgstat.h.

Referenced by pg_stat_get_activity(), pgstat_bestart(), and pgstat_report_activity().

◆ st_userid

◆ st_xact_start_timestamp

TimestampTz PgBackendStatus::st_xact_start_timestamp

The documentation for this struct was generated from the following file: