PostgreSQL Source Code  git master
LogicalDecodingContext Struct Reference

#include <logical.h>

Data Fields

MemoryContext context
 
ReplicationSlotslot
 
XLogReaderStatereader
 
struct ReorderBufferreorder
 
struct SnapBuildsnapshot_builder
 
bool fast_forward
 
OutputPluginCallbacks callbacks
 
OutputPluginOptions options
 
Listoutput_plugin_options
 
LogicalOutputPluginWriterPrepareWrite prepare_write
 
LogicalOutputPluginWriterWrite write
 
LogicalOutputPluginWriterUpdateProgress update_progress
 
StringInfo out
 
void * output_plugin_private
 
void * output_writer_private
 
bool streaming
 
bool twophase
 
bool twophase_opt_given
 
bool accept_writes
 
bool prepared_write
 
XLogRecPtr write_location
 
TransactionId write_xid
 
bool end_xact
 
bool processing_required
 

Detailed Description

Definition at line 33 of file logical.h.

Field Documentation

◆ accept_writes

◆ callbacks

◆ context

◆ end_xact

◆ fast_forward

◆ options

OutputPluginOptions LogicalDecodingContext::options

Definition at line 54 of file logical.h.

Referenced by CreateDecodingContext(), and CreateInitDecodingContext().

◆ out

◆ output_plugin_options

List* LogicalDecodingContext::output_plugin_options

Definition at line 59 of file logical.h.

Referenced by pg_decode_startup(), pgoutput_startup(), and StartupDecodingContext().

◆ output_plugin_private

◆ output_writer_private

void* LogicalDecodingContext::output_writer_private

Definition at line 81 of file logical.h.

Referenced by LogicalOutputWrite().

◆ prepare_write

LogicalOutputPluginWriterPrepareWrite LogicalDecodingContext::prepare_write

Definition at line 64 of file logical.h.

Referenced by OutputPluginPrepareWrite(), and StartupDecodingContext().

◆ prepared_write

bool LogicalDecodingContext::prepared_write

Definition at line 107 of file logical.h.

Referenced by OutputPluginPrepareWrite(), and OutputPluginWrite().

◆ processing_required

bool LogicalDecodingContext::processing_required

◆ reader

◆ reorder

◆ slot

◆ snapshot_builder

◆ streaming

◆ twophase

◆ twophase_opt_given

bool LogicalDecodingContext::twophase_opt_given

Definition at line 101 of file logical.h.

Referenced by CreateDecodingContext(), and pgoutput_startup().

◆ update_progress

LogicalOutputPluginWriterUpdateProgress LogicalDecodingContext::update_progress

Definition at line 66 of file logical.h.

Referenced by OutputPluginUpdateProgress(), and StartupDecodingContext().

◆ write

LogicalOutputPluginWriterWrite LogicalDecodingContext::write

Definition at line 65 of file logical.h.

Referenced by OutputPluginWrite(), and StartupDecodingContext().

◆ write_location

◆ write_xid


The documentation for this struct was generated from the following file: