PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PgBackendStatus Struct Reference

#include <backend_status.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]
 
uint64 st_query_id
 

Detailed Description

Definition at line 97 of file backend_status.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

◆ st_changecount

int PgBackendStatus::st_changecount

Definition at line 115 of file backend_status.h.

Referenced by pgstat_bestart().

◆ st_clientaddr

SockAddr PgBackendStatus::st_clientaddr

◆ st_clienthostname

char* PgBackendStatus::st_clienthostname

◆ st_databaseid

◆ st_gss

bool PgBackendStatus::st_gss

◆ st_gssstatus

PgBackendGSSStatus* PgBackendStatus::st_gssstatus

◆ st_proc_start_timestamp

TimestampTz PgBackendStatus::st_proc_start_timestamp

◆ st_procpid

◆ st_progress_command

ProgressCommandType PgBackendStatus::st_progress_command

◆ st_progress_command_target

Oid PgBackendStatus::st_progress_command_target

◆ st_progress_param

◆ st_query_id

uint64 PgBackendStatus::st_query_id

◆ st_ssl

bool PgBackendStatus::st_ssl

◆ st_sslstatus

PgBackendSSLStatus* PgBackendStatus::st_sslstatus

◆ st_state

BackendState PgBackendStatus::st_state

Definition at line 144 of file backend_status.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 127 of file backend_status.h.

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

◆ st_userid

◆ st_xact_start_timestamp


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