PostgreSQL Source Code  git master
CState Struct Reference

Data Fields

PGconncon
 
int id
 
ConnectionStateEnum state
 
ConditionalStack cstack
 
pg_prng_state cs_func_rs
 
int use_file
 
int command
 
Variables variables
 
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]
 
EStatus estatus
 
pg_prng_state random_state
 
uint32 tries
 
int64 cnt
 

Detailed Description

Definition at line 608 of file pgbench.c.

Field Documentation

◆ cnt

int64 CState::cnt

Definition at line 647 of file pgbench.c.

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

◆ command

◆ con

◆ cs_func_rs

pg_prng_state CState::cs_func_rs

Definition at line 619 of file pgbench.c.

Referenced by advanceConnectionState(), and evalStandardFunc().

◆ cstack

ConditionalStack CState::cstack

Definition at line 613 of file pgbench.c.

Referenced by advanceConnectionState(), and executeMetaCommand().

◆ estatus

EStatus CState::estatus

◆ id

◆ prepared

bool CState::prepared[MAX_SCRIPTS]

Definition at line 633 of file pgbench.c.

Referenced by advanceConnectionState(), and sendCommand().

◆ random_state

pg_prng_state CState::random_state

Definition at line 642 of file pgbench.c.

Referenced by advanceConnectionState().

◆ sleep_until

pg_time_usec_t CState::sleep_until

Definition at line 629 of file pgbench.c.

Referenced by executeMetaCommand(), and threadRun().

◆ state

ConnectionStateEnum CState::state

Definition at line 612 of file pgbench.c.

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

◆ stmt_begin

pg_time_usec_t CState::stmt_begin

Definition at line 631 of file pgbench.c.

Referenced by advanceConnectionState().

◆ tries

uint32 CState::tries

◆ txn_begin

pg_time_usec_t CState::txn_begin

Definition at line 630 of file pgbench.c.

Referenced by advanceConnectionState(), and processXactStats().

◆ txn_scheduled

pg_time_usec_t CState::txn_scheduled

◆ use_file

◆ variables

Variables CState::variables

Definition at line 625 of file pgbench.c.

Referenced by evaluateExpr(), executeMetaCommand(), readCommandResponse(), and sendCommand().


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