Struct pgrx_pg_sys::XLogReaderState
source · #[repr(C)]pub struct XLogReaderState {Show 30 fields
pub routine: XLogReaderRoutine,
pub system_identifier: uint64,
pub private_data: *mut c_void,
pub ReadRecPtr: XLogRecPtr,
pub EndRecPtr: XLogRecPtr,
pub decoded_record: *mut XLogRecord,
pub main_data: *mut c_char,
pub main_data_len: uint32,
pub main_data_bufsz: uint32,
pub record_origin: RepOriginId,
pub toplevel_xid: TransactionId,
pub blocks: [DecodedBkpBlock; 33],
pub max_block_id: c_int,
pub readBuf: *mut c_char,
pub readLen: uint32,
pub segcxt: WALSegmentContext,
pub seg: WALOpenSegment,
pub segoff: uint32,
pub latestPagePtr: XLogRecPtr,
pub latestPageTLI: TimeLineID,
pub currRecPtr: XLogRecPtr,
pub currTLI: TimeLineID,
pub currTLIValidUntil: XLogRecPtr,
pub nextTLI: TimeLineID,
pub readRecordBuf: *mut c_char,
pub readRecordBufSize: uint32,
pub errormsg_buf: *mut c_char,
pub abortedRecPtr: XLogRecPtr,
pub missingContrecPtr: XLogRecPtr,
pub overwrittenRecPtr: XLogRecPtr,
}
Fields§
§routine: XLogReaderRoutine
§system_identifier: uint64
§private_data: *mut c_void
§ReadRecPtr: XLogRecPtr
§EndRecPtr: XLogRecPtr
§decoded_record: *mut XLogRecord
§main_data: *mut c_char
§main_data_len: uint32
§main_data_bufsz: uint32
§record_origin: RepOriginId
§toplevel_xid: TransactionId
§blocks: [DecodedBkpBlock; 33]
§max_block_id: c_int
§readBuf: *mut c_char
§readLen: uint32
§segcxt: WALSegmentContext
§seg: WALOpenSegment
§segoff: uint32
§latestPagePtr: XLogRecPtr
§latestPageTLI: TimeLineID
§currRecPtr: XLogRecPtr
§currTLI: TimeLineID
§currTLIValidUntil: XLogRecPtr
§nextTLI: TimeLineID
§readRecordBuf: *mut c_char
§readRecordBufSize: uint32
§errormsg_buf: *mut c_char
§abortedRecPtr: XLogRecPtr
§missingContrecPtr: XLogRecPtr
§overwrittenRecPtr: XLogRecPtr
Trait Implementations§
source§impl Clone for XLogReaderState
impl Clone for XLogReaderState
source§fn clone(&self) -> XLogReaderState
fn clone(&self) -> XLogReaderState
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 XLogReaderState
impl Debug for XLogReaderState
source§impl Default for XLogReaderState
impl Default for XLogReaderState
impl Copy for XLogReaderState
Auto Trait Implementations§
impl Freeze for XLogReaderState
impl RefUnwindSafe for XLogReaderState
impl !Send for XLogReaderState
impl !Sync for XLogReaderState
impl Unpin for XLogReaderState
impl UnwindSafe for XLogReaderState
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