PostgreSQL Source Code  git master
CState Struct Reference

Data Fields

PGconncon
 
int id
 
ConnectionStateEnum state
 
ConditionalStack cstack
 
RandomState cs_func_rs
 
int use_file
 
int command
 
Variablevariables
 
int nvariables
 
bool vars_sorted
 
pg_time_usec_t txn_scheduled
 
pg_time_usec_t sleep_until
 
pg_time_usec_t txn_begin
 
pg_time_usec_t stmt_begin
 
bool prepared [MAX_SCRIPTS]
 
int64 cnt
 

Detailed Description

Definition at line 453 of file pgbench.c.

Field Documentation

◆ cnt

int64 CState::cnt

Definition at line 483 of file pgbench.c.

Referenced by advanceConnectionState(), doLog(), and processXactStats().

◆ command

◆ con

◆ cs_func_rs

RandomState CState::cs_func_rs

Definition at line 464 of file pgbench.c.

Referenced by evalStandardFunc().

◆ cstack

ConditionalStack CState::cstack

Definition at line 458 of file pgbench.c.

Referenced by advanceConnectionState(), executeMetaCommand(), and main().

◆ id

◆ nvariables

int CState::nvariables

Definition at line 471 of file pgbench.c.

Referenced by lookupCreateVariable(), lookupVariable(), and main().

◆ prepared

bool CState::prepared[MAX_SCRIPTS]

Definition at line 480 of file pgbench.c.

Referenced by advanceConnectionState(), and sendCommand().

◆ sleep_until

pg_time_usec_t CState::sleep_until

Definition at line 476 of file pgbench.c.

Referenced by executeMetaCommand(), and threadRun().

◆ state

ConnectionStateEnum CState::state

Definition at line 457 of file pgbench.c.

Referenced by advanceConnectionState(), main(), and threadRun().

◆ stmt_begin

pg_time_usec_t CState::stmt_begin

Definition at line 478 of file pgbench.c.

Referenced by advanceConnectionState().

◆ txn_begin

pg_time_usec_t CState::txn_begin

Definition at line 477 of file pgbench.c.

Referenced by advanceConnectionState(), and processXactStats().

◆ txn_scheduled

pg_time_usec_t CState::txn_scheduled

Definition at line 475 of file pgbench.c.

Referenced by advanceConnectionState(), processXactStats(), and threadRun().

◆ use_file

◆ variables

Variable* CState::variables

Definition at line 470 of file pgbench.c.

Referenced by lookupCreateVariable(), lookupVariable(), and main().

◆ vars_sorted

bool CState::vars_sorted

Definition at line 472 of file pgbench.c.

Referenced by lookupCreateVariable(), and lookupVariable().


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