#[repr(C)]pub struct ControlFileData {Show 35 fields
pub system_identifier: uint64,
pub pg_control_version: uint32,
pub catalog_version_no: uint32,
pub state: Type,
pub time: pg_time_t,
pub checkPoint: XLogRecPtr,
pub checkPointCopy: CheckPoint,
pub unloggedLSN: XLogRecPtr,
pub minRecoveryPoint: XLogRecPtr,
pub minRecoveryPointTLI: TimeLineID,
pub backupStartPoint: XLogRecPtr,
pub backupEndPoint: XLogRecPtr,
pub backupEndRequired: bool,
pub wal_level: c_int,
pub wal_log_hints: bool,
pub MaxConnections: c_int,
pub max_worker_processes: c_int,
pub max_wal_senders: c_int,
pub max_prepared_xacts: c_int,
pub max_locks_per_xact: c_int,
pub track_commit_timestamp: bool,
pub maxAlign: uint32,
pub floatFormat: f64,
pub blcksz: uint32,
pub relseg_size: uint32,
pub xlog_blcksz: uint32,
pub xlog_seg_size: uint32,
pub nameDataLen: uint32,
pub indexMaxKeys: uint32,
pub toast_max_chunk_size: uint32,
pub loblksize: uint32,
pub float8ByVal: bool,
pub data_checksum_version: uint32,
pub mock_authentication_nonce: [c_char; 32],
pub crc: pg_crc32c,
}
Fields§
§system_identifier: uint64
§pg_control_version: uint32
§catalog_version_no: uint32
§state: Type
§time: pg_time_t
§checkPoint: XLogRecPtr
§checkPointCopy: CheckPoint
§unloggedLSN: XLogRecPtr
§minRecoveryPoint: XLogRecPtr
§minRecoveryPointTLI: TimeLineID
§backupStartPoint: XLogRecPtr
§backupEndPoint: XLogRecPtr
§backupEndRequired: bool
§wal_level: c_int
§wal_log_hints: bool
§MaxConnections: c_int
§max_worker_processes: c_int
§max_wal_senders: c_int
§max_prepared_xacts: c_int
§max_locks_per_xact: c_int
§track_commit_timestamp: bool
§maxAlign: uint32
§floatFormat: f64
§blcksz: uint32
§relseg_size: uint32
§xlog_blcksz: uint32
§xlog_seg_size: uint32
§nameDataLen: uint32
§indexMaxKeys: uint32
§toast_max_chunk_size: uint32
§loblksize: uint32
§float8ByVal: bool
§data_checksum_version: uint32
§mock_authentication_nonce: [c_char; 32]
§crc: pg_crc32c
Trait Implementations§
Source§impl Clone for ControlFileData
impl Clone for ControlFileData
Source§fn clone(&self) -> ControlFileData
fn clone(&self) -> ControlFileData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ControlFileData
impl Debug for ControlFileData
Source§impl Default for ControlFileData
impl Default for ControlFileData
impl Copy for ControlFileData
Auto Trait Implementations§
impl Freeze for ControlFileData
impl RefUnwindSafe for ControlFileData
impl Send for ControlFileData
impl Sync for ControlFileData
impl Unpin for ControlFileData
impl UnwindSafe for ControlFileData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more