PostgreSQL Source Code git master
Loading...
Searching...
No Matches
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
 
charst_clienthostname
 
bool st_ssl
 
PgBackendSSLStatusst_sslstatus
 
bool st_gss
 
PgBackendGSSStatusst_gssstatus
 
BackendState st_state
 
charst_appname
 
charst_activity_raw
 
ProgressCommandType st_progress_command
 
Oid st_progress_command_target
 
int64 st_progress_param [PGSTAT_NUM_PROGRESS_PARAM]
 
int64 st_query_id
 
int64 st_plan_id
 

Detailed Description

Definition at line 98 of file backend_status.h.

Field Documentation

◆ st_activity_raw

char* PgBackendStatus::st_activity_raw

◆ st_activity_start_timestamp

TimestampTz PgBackendStatus::st_activity_start_timestamp

Definition at line 127 of file backend_status.h.

◆ st_appname

char* PgBackendStatus::st_appname

Definition at line 148 of file backend_status.h.

Referenced by BackendStatusShmemInit().

◆ st_backendType

BackendType PgBackendStatus::st_backendType

Definition at line 122 of file backend_status.h.

Referenced by pgstat_get_backend_type_by_proc_number().

◆ st_changecount

int PgBackendStatus::st_changecount

Definition at line 116 of file backend_status.h.

◆ st_clientaddr

SockAddr PgBackendStatus::st_clientaddr

Definition at line 133 of file backend_status.h.

◆ st_clienthostname

char* PgBackendStatus::st_clienthostname

Definition at line 134 of file backend_status.h.

Referenced by BackendStatusShmemInit().

◆ st_databaseid

Oid PgBackendStatus::st_databaseid

Definition at line 131 of file backend_status.h.

◆ st_gss

bool PgBackendStatus::st_gss

Definition at line 141 of file backend_status.h.

◆ st_gssstatus

PgBackendGSSStatus* PgBackendStatus::st_gssstatus

Definition at line 142 of file backend_status.h.

Referenced by BackendStatusShmemInit().

◆ st_plan_id

int64 PgBackendStatus::st_plan_id

Definition at line 176 of file backend_status.h.

Referenced by pgstat_get_my_plan_id().

◆ st_proc_start_timestamp

TimestampTz PgBackendStatus::st_proc_start_timestamp

Definition at line 125 of file backend_status.h.

◆ st_procpid

int PgBackendStatus::st_procpid

Definition at line 119 of file backend_status.h.

◆ st_progress_command

ProgressCommandType PgBackendStatus::st_progress_command

Definition at line 168 of file backend_status.h.

◆ st_progress_command_target

Oid PgBackendStatus::st_progress_command_target

Definition at line 169 of file backend_status.h.

◆ st_progress_param

int64 PgBackendStatus::st_progress_param[PGSTAT_NUM_PROGRESS_PARAM]

Definition at line 170 of file backend_status.h.

Referenced by do_analyze_rel(), and heap_vacuum_rel().

◆ st_query_id

int64 PgBackendStatus::st_query_id

Definition at line 173 of file backend_status.h.

Referenced by pgstat_get_my_query_id().

◆ st_ssl

bool PgBackendStatus::st_ssl

Definition at line 137 of file backend_status.h.

◆ st_sslstatus

PgBackendSSLStatus* PgBackendStatus::st_sslstatus

Definition at line 138 of file backend_status.h.

Referenced by BackendStatusShmemInit().

◆ st_state

BackendState PgBackendStatus::st_state

Definition at line 145 of file backend_status.h.

◆ st_state_start_timestamp

TimestampTz PgBackendStatus::st_state_start_timestamp

Definition at line 128 of file backend_status.h.

◆ st_userid

Oid PgBackendStatus::st_userid

Definition at line 132 of file backend_status.h.

◆ st_xact_start_timestamp

TimestampTz PgBackendStatus::st_xact_start_timestamp

Definition at line 126 of file backend_status.h.


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