PostgreSQL Source Code git master
Data Fields
ControlFileData Struct Reference

#include <pg_control.h>

Data Fields

 
 
 
 
 
 
 
 
 
 
 
 
 
int  wal_level
 
bool  wal_log_hints
 
 
 
 
 
 
 
 
double  floatFormat
 
 
 
 
 
 
 
 
 
bool  float8ByVal
 
 
 
 
 

Detailed Description

Definition at line 104 of file pg_control.h.

Field Documentation

backupEndPoint

XLogRecPtr ControlFileData::backupEndPoint

Definition at line 171 of file pg_control.h.

Referenced by InitWalRecovery(), main(), pg_control_recovery(), ReachedEndOfBackup(), RewriteControlFile(), and xlog_redo().

backupEndRequired

bool ControlFileData::backupEndRequired

Definition at line 172 of file pg_control.h.

Referenced by InitWalRecovery(), main(), pg_control_recovery(), ReachedEndOfBackup(), RewriteControlFile(), and StartupXLOG().

backupStartPoint

XLogRecPtr ControlFileData::backupStartPoint

Definition at line 170 of file pg_control.h.

Referenced by InitWalRecovery(), main(), pg_control_recovery(), ReachedEndOfBackup(), RewriteControlFile(), StartupXLOG(), and xlog_redo().

blcksz

uint32 ControlFileData::blcksz

Definition at line 207 of file pg_control.h.

Referenced by GuessControlValues(), main(), pg_control_init(), PrintControlValues(), ReadControlFile(), and WriteControlFile().

catalog_version_no

uint32 ControlFileData::catalog_version_no

Definition at line 126 of file pg_control.h.

Referenced by GuessControlValues(), main(), pg_control_system(), PrintControlValues(), ReadControlFile(), sanityChecks(), and WriteControlFile().

checkPoint

XLogRecPtr ControlFileData::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

CheckPoint ControlFileData::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

pg_crc32c ControlFileData::crc

Definition at line 238 of file pg_control.h.

Referenced by checkControlFile(), get_controlfile_by_exact_path(), member_verify_control_data(), ReadControlFile(), update_controlfile(), and WriteControlFile().

data_checksum_version

uint32 ControlFileData::data_checksum_version

Definition at line 222 of file pg_control.h.

Referenced by check_control_files(), DataChecksumsEnabled(), InitControlFile(), main(), pg_control_init(), PrintControlValues(), sanityChecks(), and scan_file().

default_char_signedness

bool ControlFileData::default_char_signedness

Definition at line 228 of file pg_control.h.

Referenced by GetDefaultCharSignedness(), main(), pg_control_init(), PrintControlValues(), and WriteControlFile().

float8ByVal

bool ControlFileData::float8ByVal

Definition at line 219 of file pg_control.h.

Referenced by GuessControlValues(), main(), pg_control_init(), PrintControlValues(), ReadControlFile(), and WriteControlFile().

floatFormat

double ControlFileData::floatFormat

Definition at line 200 of file pg_control.h.

Referenced by GuessControlValues(), ReadControlFile(), and WriteControlFile().

indexMaxKeys

uint32 ControlFileData::indexMaxKeys

Definition at line 214 of file pg_control.h.

Referenced by GuessControlValues(), main(), pg_control_init(), PrintControlValues(), ReadControlFile(), and WriteControlFile().

loblksize

uint32 ControlFileData::loblksize

Definition at line 217 of file pg_control.h.

Referenced by GuessControlValues(), main(), pg_control_init(), PrintControlValues(), ReadControlFile(), and WriteControlFile().

max_locks_per_xact

int ControlFileData::max_locks_per_xact

Definition at line 184 of file pg_control.h.

Referenced by CheckRequiredParameterValues(), GuessControlValues(), InitControlFile(), main(), RewriteControlFile(), xlog_redo(), and XLogReportParameters().

max_prepared_xacts

int ControlFileData::max_prepared_xacts

Definition at line 183 of file pg_control.h.

Referenced by CheckRequiredParameterValues(), GuessControlValues(), InitControlFile(), main(), RewriteControlFile(), xlog_redo(), and XLogReportParameters().

max_wal_senders

int ControlFileData::max_wal_senders

Definition at line 182 of file pg_control.h.

Referenced by CheckRequiredParameterValues(), GuessControlValues(), InitControlFile(), main(), RewriteControlFile(), xlog_redo(), and XLogReportParameters().

max_worker_processes

int ControlFileData::max_worker_processes

Definition at line 181 of file pg_control.h.

Referenced by CheckRequiredParameterValues(), GuessControlValues(), InitControlFile(), main(), RewriteControlFile(), xlog_redo(), and XLogReportParameters().

maxAlign

uint32 ControlFileData::maxAlign

Definition at line 199 of file pg_control.h.

Referenced by GuessControlValues(), main(), pg_control_init(), PrintControlValues(), ReadControlFile(), and WriteControlFile().

MaxConnections

int ControlFileData::MaxConnections

Definition at line 180 of file pg_control.h.

Referenced by CheckRequiredParameterValues(), GuessControlValues(), InitControlFile(), main(), RewriteControlFile(), xlog_redo(), and XLogReportParameters().

minRecoveryPoint

XLogRecPtr ControlFileData::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

TimeLineID ControlFileData::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

char ControlFileData::mock_authentication_nonce[MOCK_AUTH_NONCE_LEN]

Definition at line 235 of file pg_control.h.

Referenced by GetMockAuthenticationNonce(), InitControlFile(), and main().

nameDataLen

uint32 ControlFileData::nameDataLen

Definition at line 213 of file pg_control.h.

Referenced by GuessControlValues(), main(), pg_control_init(), PrintControlValues(), ReadControlFile(), and WriteControlFile().

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

Definition at line 208 of file pg_control.h.

Referenced by GuessControlValues(), main(), pg_control_init(), PrintControlValues(), ReadControlFile(), and WriteControlFile().

state

DBState ControlFileData::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

pg_time_t ControlFileData::time

Definition at line 132 of file pg_control.h.

Referenced by BootStrapXLOG(), GuessControlValues(), main(), pg_control_system(), StartupXLOG(), and update_controlfile().

toast_max_chunk_size

uint32 ControlFileData::toast_max_chunk_size

Definition at line 216 of file pg_control.h.

Referenced by GuessControlValues(), main(), pg_control_init(), PrintControlValues(), ReadControlFile(), and WriteControlFile().

track_commit_timestamp

bool ControlFileData::track_commit_timestamp

Definition at line 185 of file pg_control.h.

Referenced by GuessControlValues(), InitControlFile(), main(), RewriteControlFile(), StartupXLOG(), xlog_redo(), and XLogReportParameters().

unloggedLSN

XLogRecPtr ControlFileData::unloggedLSN

Definition at line 137 of file pg_control.h.

Referenced by CreateCheckPoint(), GuessControlValues(), InitControlFile(), main(), and StartupXLOG().

wal_level

int ControlFileData::wal_level

Definition at line 178 of file pg_control.h.

Referenced by CheckRequiredParameterValues(), GetActiveWalLevelOnStandby(), GuessControlValues(), InitControlFile(), main(), RewriteControlFile(), xlog_redo(), and XLogReportParameters().

wal_log_hints

bool ControlFileData::wal_log_hints

Definition at line 179 of file pg_control.h.

Referenced by GuessControlValues(), InitControlFile(), main(), RewriteControlFile(), sanityChecks(), xlog_redo(), and XLogReportParameters().

xlog_blcksz

uint32 ControlFileData::xlog_blcksz

Definition at line 210 of file pg_control.h.

Referenced by GuessControlValues(), main(), pg_control_init(), PrintControlValues(), ReadControlFile(), and WriteControlFile().

xlog_seg_size

uint32 ControlFileData::xlog_seg_size

Definition at line 211 of file pg_control.h.

Referenced by digestControlFile(), FindEndOfXLOG(), GuessControlValues(), main(), pg_control_init(), PrintControlValues(), PrintNewControlValues(), read_controlfile(), ReadControlFile(), and WriteControlFile().


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

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