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: TransactionIdTrait Implementations§
source§impl Clone for LogicalDecodingContext
impl Clone for LogicalDecodingContext
source§fn clone(&self) -> LogicalDecodingContext
fn clone(&self) -> LogicalDecodingContext
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 more