PostgreSQL Source Code: ControlFileData Struct Reference (original) (raw)

#include <[pg_control.h](pg%5F%5Fcontrol%5F8h%5Fsource.html)>

Data Fields
uint64 system_identifier
uint32 pg_control_version
uint32 catalog_version_no
DBState state
pg_time_t time
XLogRecPtr checkPoint
CheckPoint checkPointCopy
XLogRecPtr unloggedLSN
XLogRecPtr minRecoveryPoint
TimeLineID minRecoveryPointTLI
XLogRecPtr backupStartPoint
XLogRecPtr backupEndPoint
bool backupEndRequired
int wal_level
bool wal_log_hints
int MaxConnections
int max_worker_processes
int max_wal_senders
int max_prepared_xacts
int max_locks_per_xact
bool track_commit_timestamp
uint32 maxAlign
double floatFormat
uint32 blcksz
uint32 relseg_size
uint32 xlog_blcksz
uint32 xlog_seg_size
uint32 nameDataLen
uint32 indexMaxKeys
uint32 toast_max_chunk_size
uint32 loblksize
bool float8ByVal
uint32 data_checksum_version
bool default_char_signedness
char mock_authentication_nonce [MOCK_AUTH_NONCE_LEN]
pg_crc32c crc

Definition at line 104 of file pg_control.h.

backupEndPoint

backupEndRequired

bool ControlFileData::backupEndRequired

backupStartPoint

blcksz

uint32 ControlFileData::blcksz

catalog_version_no

uint32 ControlFileData::catalog_version_no

checkPoint

Definition at line 133 of file pg_control.h.

Referenced by BootStrapXLOG(), CreateCheckPoint(), CreateRestartPoint(), do_pg_backup_start(), GuessControlValues(), InitWalRecovery(), LogCheckpointEnd(), main(), perform_rewind(), pg_control_checkpoint(), RewriteControlFile(), and StartupXLOG().

checkPointCopy

Definition at line 135 of file pg_control.h.

Referenced by BootStrapXLOG(), CreateCheckPoint(), CreateRestartPoint(), do_pg_backup_start(), FindEndOfXLOG(), GetOldestRestartPoint(), GuessControlValues(), InitWalRecovery(), LogCheckpointEnd(), main(), perform_rewind(), pg_control_checkpoint(), PrintControlValues(), PrintNewControlValues(), RewriteControlFile(), StartupXLOG(), WriteEmptyXLOG(), and xlog_redo().

crc

data_checksum_version

uint32 ControlFileData::data_checksum_version

default_char_signedness

bool ControlFileData::default_char_signedness

float8ByVal

bool ControlFileData::float8ByVal

floatFormat

double ControlFileData::floatFormat

indexMaxKeys

uint32 ControlFileData::indexMaxKeys

loblksize

uint32 ControlFileData::loblksize

max_locks_per_xact

int ControlFileData::max_locks_per_xact

max_prepared_xacts

int ControlFileData::max_prepared_xacts

max_wal_senders

int ControlFileData::max_wal_senders

max_worker_processes

int ControlFileData::max_worker_processes

maxAlign

uint32 ControlFileData::maxAlign

MaxConnections

int ControlFileData::MaxConnections

minRecoveryPoint

Definition at line 168 of file pg_control.h.

Referenced by CreateCheckPoint(), CreateEndOfRecoveryRecord(), CreateRestartPoint(), do_pg_backup_stop(), InitWalRecovery(), main(), perform_rewind(), pg_control_recovery(), ReachedEndOfBackup(), RewriteControlFile(), StartupXLOG(), SwitchIntoArchiveRecovery(), UpdateMinRecoveryPoint(), xlog_redo(), and XLogNeedsFlush().

minRecoveryPointTLI

Definition at line 169 of file pg_control.h.

Referenced by CreateCheckPoint(), CreateEndOfRecoveryRecord(), CreateRestartPoint(), do_pg_backup_stop(), InitWalRecovery(), main(), perform_rewind(), pg_control_recovery(), ReachedEndOfBackup(), RewriteControlFile(), StartupXLOG(), SwitchIntoArchiveRecovery(), UpdateMinRecoveryPoint(), xlog_redo(), and XLogNeedsFlush().

mock_authentication_nonce

nameDataLen

uint32 ControlFileData::nameDataLen

pg_control_version

uint32 ControlFileData::pg_control_version

Definition at line 125 of file pg_control.h.

Referenced by check_control_files(), get_controlfile_by_exact_path(), GuessControlValues(), main(), member_verify_control_data(), pg_control_system(), PrintControlValues(), ReadControlFile(), sanityChecks(), verify_control_file(), and WriteControlFile().

relseg_size

uint32 ControlFileData::relseg_size

state

Definition at line 131 of file pg_control.h.

Referenced by CreateCheckPoint(), CreateRestartPoint(), get_control_dbstate(), GuessControlValues(), InitControlFile(), InitWalRecovery(), main(), perform_rewind(), RewriteControlFile(), sanityChecks(), StartupXLOG(), and SwitchIntoArchiveRecovery().

system_identifier

uint64 ControlFileData::system_identifier

Definition at line 110 of file pg_control.h.

Referenced by AdvanceXLInsertBuffer(), check_control_files(), get_standby_sysid(), GetSystemIdentifier(), GuessControlValues(), InitControlFile(), InitWalRecovery(), main(), member_verify_control_data(), modify_subscriber_sysid(), pg_control_system(), PrintControlValues(), sanityChecks(), verify_control_file(), and WriteEmptyXLOG().

time

toast_max_chunk_size

uint32 ControlFileData::toast_max_chunk_size

track_commit_timestamp

bool ControlFileData::track_commit_timestamp

unloggedLSN

wal_level

int ControlFileData::wal_level

wal_log_hints

bool ControlFileData::wal_log_hints

xlog_blcksz

uint32 ControlFileData::xlog_blcksz

xlog_seg_size

uint32 ControlFileData::xlog_seg_size


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