Struct pgx_pg_sys::ReorderBufferTXN
source · [−]#[repr(C)]pub struct ReorderBufferTXN {Show 33 fields
pub txn_flags: bits32,
pub xid: TransactionId,
pub toplevel_xid: TransactionId,
pub gid: *mut c_char,
pub first_lsn: XLogRecPtr,
pub final_lsn: XLogRecPtr,
pub end_lsn: XLogRecPtr,
pub toptxn: *mut ReorderBufferTXN,
pub restart_decoding_lsn: XLogRecPtr,
pub origin_id: RepOriginId,
pub origin_lsn: XLogRecPtr,
pub commit_time: TimestampTz,
pub base_snapshot: Snapshot,
pub base_snapshot_lsn: XLogRecPtr,
pub base_snapshot_node: dlist_node,
pub snapshot_now: Snapshot,
pub command_id: CommandId,
pub nentries: uint64,
pub nentries_mem: uint64,
pub changes: dlist_head,
pub tuplecids: dlist_head,
pub ntuplecids: uint64,
pub tuplecid_hash: *mut HTAB,
pub toast_hash: *mut HTAB,
pub subtxns: dlist_head,
pub nsubtxns: uint32,
pub ninvalidations: uint32,
pub invalidations: *mut SharedInvalidationMessage,
pub node: dlist_node,
pub size: Size,
pub total_size: Size,
pub concurrent_abort: bool,
pub output_plugin_private: *mut c_void,
}
Fields
txn_flags: bits32
xid: TransactionId
toplevel_xid: TransactionId
gid: *mut c_char
first_lsn: XLogRecPtr
final_lsn: XLogRecPtr
end_lsn: XLogRecPtr
toptxn: *mut ReorderBufferTXN
restart_decoding_lsn: XLogRecPtr
origin_id: RepOriginId
origin_lsn: XLogRecPtr
commit_time: TimestampTz
base_snapshot: Snapshot
base_snapshot_lsn: XLogRecPtr
base_snapshot_node: dlist_node
snapshot_now: Snapshot
command_id: CommandId
nentries: uint64
nentries_mem: uint64
changes: dlist_head
tuplecids: dlist_head
ntuplecids: uint64
tuplecid_hash: *mut HTAB
toast_hash: *mut HTAB
subtxns: dlist_head
nsubtxns: uint32
ninvalidations: uint32
invalidations: *mut SharedInvalidationMessage
node: dlist_node
size: Size
total_size: Size
concurrent_abort: bool
output_plugin_private: *mut c_void
Trait Implementations
sourceimpl Clone for ReorderBufferTXN
impl Clone for ReorderBufferTXN
sourcefn clone(&self) -> ReorderBufferTXN
fn clone(&self) -> ReorderBufferTXN
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 ReorderBufferTXN
impl Debug for ReorderBufferTXN
sourceimpl Default for ReorderBufferTXN
impl Default for ReorderBufferTXN
impl Copy for ReorderBufferTXN
Auto Trait Implementations
impl RefUnwindSafe for ReorderBufferTXN
impl !Send for ReorderBufferTXN
impl !Sync for ReorderBufferTXN
impl Unpin for ReorderBufferTXN
impl UnwindSafe for ReorderBufferTXN
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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