pgrx_pg_sys

Struct ControlFileData

Source
#[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

Source§

fn clone(&self) -> ControlFileData

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ControlFileData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ControlFileData

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for ControlFileData

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.