PostgreSQL Source Code git master
Data Fields
PgBackendStatus Struct Reference

#include <backend_status.h>

Data Fields

 
int  st_procpid
 
 
 
 
 
 
 
 
 
 
bool  st_ssl
 
 
bool  st_gss
 
 
 
char *  st_appname
 
char *  st_activity_raw
 
 
 
 
 
 

Detailed Description

Definition at line 98 of file backend_status.h.

Field Documentation

st_activity_raw

char* PgBackendStatus::st_activity_raw

Definition at line 157 of file backend_status.h.

Referenced by BackendStatusShmemInit(), pg_stat_get_activity(), pg_stat_get_backend_activity(), pgstat_bestart_initial(), pgstat_get_backend_current_activity(), pgstat_get_crashed_backend_activity(), pgstat_read_current_status(), and pgstat_report_activity().

st_activity_start_timestamp

TimestampTz PgBackendStatus::st_activity_start_timestamp

Definition at line 127 of file backend_status.h.

Referenced by pg_stat_get_activity(), pg_stat_get_backend_activity_start(), pgstat_bestart_initial(), and pgstat_report_activity().

st_appname

char* PgBackendStatus::st_appname

Definition at line 148 of file backend_status.h.

Referenced by BackendStatusShmemInit(), pg_stat_get_activity(), pgstat_bestart_initial(), pgstat_read_current_status(), and pgstat_report_appname().

st_backendType

BackendType PgBackendStatus::st_backendType

Definition at line 122 of file backend_status.h.

Referenced by pg_stat_get_activity(), pg_stat_reset_backend_stats(), pgstat_bestart_initial(), pgstat_fetch_stat_backend_by_pid(), and pgstat_get_backend_type_by_proc_number().

st_changecount

int PgBackendStatus::st_changecount

Definition at line 116 of file backend_status.h.

Referenced by pgstat_bestart_initial().

st_clientaddr

SockAddr PgBackendStatus::st_clientaddr

Definition at line 133 of file backend_status.h.

Referenced by pg_stat_get_activity(), pg_stat_get_backend_client_addr(), pg_stat_get_backend_client_port(), and pgstat_bestart_initial().

st_clienthostname

char* PgBackendStatus::st_clienthostname

Definition at line 134 of file backend_status.h.

Referenced by BackendStatusShmemInit(), pg_stat_get_activity(), pgstat_bestart_initial(), and pgstat_read_current_status().

st_databaseid

Oid PgBackendStatus::st_databaseid

Definition at line 131 of file backend_status.h.

Referenced by pg_stat_get_activity(), pg_stat_get_backend_dbid(), pg_stat_get_db_numbackends(), pg_stat_get_progress_info(), pgstat_bestart_final(), and pgstat_bestart_initial().

st_gss

bool PgBackendStatus::st_gss

Definition at line 141 of file backend_status.h.

Referenced by pg_stat_get_activity(), pgstat_bestart_initial(), pgstat_bestart_security(), and pgstat_read_current_status().

st_gssstatus

PgBackendGSSStatus* PgBackendStatus::st_gssstatus

Definition at line 142 of file backend_status.h.

Referenced by BackendStatusShmemInit(), pg_stat_get_activity(), pgstat_bestart_initial(), pgstat_bestart_security(), and pgstat_read_current_status().

st_plan_id

int64 PgBackendStatus::st_plan_id

Definition at line 176 of file backend_status.h.

Referenced by pgstat_bestart_initial(), pgstat_get_my_plan_id(), pgstat_report_activity(), and pgstat_report_plan_id().

st_proc_start_timestamp

TimestampTz PgBackendStatus::st_proc_start_timestamp

Definition at line 125 of file backend_status.h.

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

st_procpid

int PgBackendStatus::st_procpid

Definition at line 119 of file backend_status.h.

Referenced by pg_stat_get_activity(), pg_stat_get_backend_pid(), pg_stat_get_backend_wait_event(), pg_stat_get_backend_wait_event_type(), pg_stat_get_progress_info(), pgstat_beshutdown_hook(), pgstat_bestart_initial(), pgstat_fetch_stat_backend_by_pid(), pgstat_get_backend_current_activity(), pgstat_get_crashed_backend_activity(), and pgstat_read_current_status().

st_progress_command

ProgressCommandType PgBackendStatus::st_progress_command

Definition at line 168 of file backend_status.h.

Referenced by pg_stat_get_progress_info(), pgstat_bestart_initial(), pgstat_progress_end_command(), and pgstat_progress_start_command().

st_progress_command_target

Oid PgBackendStatus::st_progress_command_target

Definition at line 169 of file backend_status.h.

Referenced by pg_stat_get_progress_info(), pgstat_bestart_initial(), pgstat_progress_end_command(), and pgstat_progress_start_command().

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(), heap_vacuum_rel(), pg_stat_get_progress_info(), pgstat_progress_incr_param(), pgstat_progress_start_command(), pgstat_progress_update_multi_param(), and pgstat_progress_update_param().

st_query_id

int64 PgBackendStatus::st_query_id

Definition at line 173 of file backend_status.h.

Referenced by pg_stat_get_activity(), pgstat_bestart_initial(), pgstat_get_my_query_id(), pgstat_report_activity(), and pgstat_report_query_id().

st_ssl

bool PgBackendStatus::st_ssl

Definition at line 137 of file backend_status.h.

Referenced by pg_stat_get_activity(), pgstat_bestart_initial(), pgstat_bestart_security(), and pgstat_read_current_status().

st_sslstatus

PgBackendSSLStatus* PgBackendStatus::st_sslstatus

Definition at line 138 of file backend_status.h.

Referenced by BackendStatusShmemInit(), pg_stat_get_activity(), pgstat_bestart_initial(), pgstat_bestart_security(), and pgstat_read_current_status().

st_state

BackendState PgBackendStatus::st_state

Definition at line 145 of file backend_status.h.

Referenced by pg_stat_get_activity(), pgstat_bestart_final(), pgstat_bestart_initial(), and pgstat_report_activity().

st_state_start_timestamp

TimestampTz PgBackendStatus::st_state_start_timestamp

Definition at line 128 of file backend_status.h.

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

st_userid

Oid PgBackendStatus::st_userid

Definition at line 132 of file backend_status.h.

Referenced by pg_stat_get_activity(), pg_stat_get_backend_activity(), pg_stat_get_backend_activity_start(), pg_stat_get_backend_client_addr(), pg_stat_get_backend_client_port(), pg_stat_get_backend_start(), pg_stat_get_backend_userid(), pg_stat_get_backend_wait_event(), pg_stat_get_backend_wait_event_type(), pg_stat_get_backend_xact_start(), pg_stat_get_progress_info(), pgstat_bestart_final(), pgstat_bestart_initial(), and pgstat_get_backend_current_activity().

st_xact_start_timestamp

TimestampTz PgBackendStatus::st_xact_start_timestamp

Definition at line 126 of file backend_status.h.

Referenced by pg_stat_get_activity(), pg_stat_get_backend_xact_start(), pgstat_bestart_initial(), pgstat_report_activity(), and pgstat_report_xact_timestamp().


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

AltStyle によって変換されたページ (->オリジナル) /