Struct pgx_pg_sys::LogicalDecodingContext
source · #[repr(C)]pub struct LogicalDecodingContext {Show 22 fields
pub context: MemoryContext,
pub slot: *mut ReplicationSlot,
pub reader: *mut XLogReaderState,
pub reorder: *mut ReorderBuffer,
pub snapshot_builder: *mut SnapBuild,
pub fast_forward: bool,
pub end_xact: bool,
pub callbacks: OutputPluginCallbacks,
pub options: OutputPluginOptions,
pub output_plugin_options: *mut List,
pub prepare_write: LogicalOutputPluginWriterPrepareWrite,
pub write: LogicalOutputPluginWriterWrite,
pub update_progress: LogicalOutputPluginWriterUpdateProgress,
pub out: StringInfo,
pub output_plugin_private: *mut c_void,
pub output_writer_private: *mut c_void,
pub streaming: bool,
pub twophase: bool,
pub accept_writes: bool,
pub prepared_write: bool,
pub write_location: XLogRecPtr,
pub write_xid: TransactionId,
}
Fields
context: MemoryContext
slot: *mut ReplicationSlot
reader: *mut XLogReaderState
reorder: *mut ReorderBuffer
snapshot_builder: *mut SnapBuild
fast_forward: bool
end_xact: bool
callbacks: OutputPluginCallbacks
options: OutputPluginOptions
output_plugin_options: *mut List
prepare_write: LogicalOutputPluginWriterPrepareWrite
write: LogicalOutputPluginWriterWrite
update_progress: LogicalOutputPluginWriterUpdateProgress
out: StringInfo
output_plugin_private: *mut c_void
output_writer_private: *mut c_void
streaming: bool
twophase: bool
accept_writes: bool
prepared_write: bool
write_location: XLogRecPtr
write_xid: TransactionId
Trait Implementations
sourceimpl Clone for LogicalDecodingContext
impl Clone for LogicalDecodingContext
sourcefn clone(&self) -> LogicalDecodingContext
fn clone(&self) -> LogicalDecodingContext
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 moresourceimpl Debug for LogicalDecodingContext
impl Debug for LogicalDecodingContext
sourceimpl Default for LogicalDecodingContext
impl Default for LogicalDecodingContext
impl Copy for LogicalDecodingContext
Auto Trait Implementations
impl RefUnwindSafe for LogicalDecodingContext
impl !Send for LogicalDecodingContext
impl !Sync for LogicalDecodingContext
impl Unpin for LogicalDecodingContext
impl UnwindSafe for LogicalDecodingContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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