Struct pgx_pg_sys::ReorderBuffer
source · [−]#[repr(C)]pub struct ReorderBuffer {Show 40 fields
pub by_txn: *mut HTAB,
pub toplevel_by_lsn: dlist_head,
pub txns_by_base_snapshot_lsn: dlist_head,
pub by_txn_last_xid: TransactionId,
pub by_txn_last_txn: *mut ReorderBufferTXN,
pub begin: ReorderBufferBeginCB,
pub apply_change: ReorderBufferApplyChangeCB,
pub apply_truncate: ReorderBufferApplyTruncateCB,
pub commit: ReorderBufferCommitCB,
pub message: ReorderBufferMessageCB,
pub begin_prepare: ReorderBufferBeginCB,
pub prepare: ReorderBufferPrepareCB,
pub commit_prepared: ReorderBufferCommitPreparedCB,
pub rollback_prepared: ReorderBufferRollbackPreparedCB,
pub stream_start: ReorderBufferStreamStartCB,
pub stream_stop: ReorderBufferStreamStopCB,
pub stream_abort: ReorderBufferStreamAbortCB,
pub stream_prepare: ReorderBufferStreamPrepareCB,
pub stream_commit: ReorderBufferStreamCommitCB,
pub stream_change: ReorderBufferStreamChangeCB,
pub stream_message: ReorderBufferStreamMessageCB,
pub stream_truncate: ReorderBufferStreamTruncateCB,
pub private_data: *mut c_void,
pub output_rewrites: bool,
pub context: MemoryContext,
pub change_context: MemoryContext,
pub txn_context: MemoryContext,
pub tup_context: MemoryContext,
pub current_restart_decoding_lsn: XLogRecPtr,
pub outbuf: *mut c_char,
pub outbufsize: Size,
pub size: Size,
pub spillTxns: int64,
pub spillCount: int64,
pub spillBytes: int64,
pub streamTxns: int64,
pub streamCount: int64,
pub streamBytes: int64,
pub totalTxns: int64,
pub totalBytes: int64,
}
Fields
by_txn: *mut HTAB
toplevel_by_lsn: dlist_head
txns_by_base_snapshot_lsn: dlist_head
by_txn_last_xid: TransactionId
by_txn_last_txn: *mut ReorderBufferTXN
begin: ReorderBufferBeginCB
apply_change: ReorderBufferApplyChangeCB
apply_truncate: ReorderBufferApplyTruncateCB
commit: ReorderBufferCommitCB
message: ReorderBufferMessageCB
begin_prepare: ReorderBufferBeginCB
prepare: ReorderBufferPrepareCB
commit_prepared: ReorderBufferCommitPreparedCB
rollback_prepared: ReorderBufferRollbackPreparedCB
stream_start: ReorderBufferStreamStartCB
stream_stop: ReorderBufferStreamStopCB
stream_abort: ReorderBufferStreamAbortCB
stream_prepare: ReorderBufferStreamPrepareCB
stream_commit: ReorderBufferStreamCommitCB
stream_change: ReorderBufferStreamChangeCB
stream_message: ReorderBufferStreamMessageCB
stream_truncate: ReorderBufferStreamTruncateCB
private_data: *mut c_void
output_rewrites: bool
context: MemoryContext
change_context: MemoryContext
txn_context: MemoryContext
tup_context: MemoryContext
current_restart_decoding_lsn: XLogRecPtr
outbuf: *mut c_char
outbufsize: Size
size: Size
spillTxns: int64
spillCount: int64
spillBytes: int64
streamTxns: int64
streamCount: int64
streamBytes: int64
totalTxns: int64
totalBytes: int64
Trait Implementations
sourceimpl Clone for ReorderBuffer
impl Clone for ReorderBuffer
sourcefn clone(&self) -> ReorderBuffer
fn clone(&self) -> ReorderBuffer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReorderBuffer
impl Debug for ReorderBuffer
sourceimpl Default for ReorderBuffer
impl Default for ReorderBuffer
impl Copy for ReorderBuffer
Auto Trait Implementations
impl RefUnwindSafe for ReorderBuffer
impl !Send for ReorderBuffer
impl !Sync for ReorderBuffer
impl Unpin for ReorderBuffer
impl UnwindSafe for ReorderBuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more