PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ReorderBufferTXN Struct Reference

#include <reorderbuffer.h>

Data Fields

bits32 txn_flags
 
TransactionId xid
 
TransactionId toplevel_xid
 
char * gid
 
XLogRecPtr first_lsn
 
XLogRecPtr final_lsn
 
XLogRecPtr end_lsn
 
struct ReorderBufferTXNtoptxn
 
XLogRecPtr restart_decoding_lsn
 
RepOriginId origin_id
 
XLogRecPtr origin_lsn
 
union {
   TimestampTz   commit_time
 
   TimestampTz   prepare_time
 
   TimestampTz   abort_time
 
xact_time
 
Snapshot base_snapshot
 
XLogRecPtr base_snapshot_lsn
 
dlist_node base_snapshot_node
 
Snapshot snapshot_now
 
CommandId command_id
 
uint64 nentries
 
uint64 nentries_mem
 
dlist_head changes
 
dlist_head tuplecids
 
uint64 ntuplecids
 
HTABtuplecid_hash
 
HTABtoast_hash
 
dlist_head subtxns
 
uint32 nsubtxns
 
uint32 ninvalidations
 
SharedInvalidationMessageinvalidations
 
dlist_node node
 
dlist_node catchange_node
 
pairingheap_node txn_node
 
Size size
 
Size total_size
 
bool concurrent_abort
 
void * output_plugin_private
 

Detailed Description

Definition at line 257 of file reorderbuffer.h.

Field Documentation

◆ abort_time

TimestampTz ReorderBufferTXN::abort_time

Definition at line 325 of file reorderbuffer.h.

Referenced by pgoutput_stream_abort(), and ReorderBufferAbort().

◆ base_snapshot

◆ base_snapshot_lsn

XLogRecPtr ReorderBufferTXN::base_snapshot_lsn

◆ base_snapshot_node

dlist_node ReorderBufferTXN::base_snapshot_node

◆ catchange_node

dlist_node ReorderBufferTXN::catchange_node

Definition at line 407 of file reorderbuffer.h.

Referenced by ReorderBufferCleanupTXN(), and ReorderBufferXidSetCatalogChanges().

◆ changes

◆ command_id

CommandId ReorderBufferTXN::command_id

◆ commit_time

◆ concurrent_abort

bool ReorderBufferTXN::concurrent_abort

◆ end_lsn

◆ final_lsn

◆ first_lsn

◆ gid

◆ invalidations

◆ nentries

◆ nentries_mem

◆ ninvalidations

◆ node

dlist_node ReorderBufferTXN::node

◆ nsubtxns

uint32 ReorderBufferTXN::nsubtxns

◆ ntuplecids

uint64 ReorderBufferTXN::ntuplecids

◆ origin_id

◆ origin_lsn

◆ output_plugin_private

◆ prepare_time

◆ restart_decoding_lsn

XLogRecPtr ReorderBufferTXN::restart_decoding_lsn

Definition at line 311 of file reorderbuffer.h.

Referenced by ReorderBufferTXNByXid(), and SnapBuildProcessRunningXacts().

◆ size

◆ snapshot_now

Snapshot ReorderBufferTXN::snapshot_now

◆ subtxns

◆ toast_hash

◆ toplevel_xid

◆ toptxn

struct ReorderBufferTXN* ReorderBufferTXN::toptxn

Definition at line 304 of file reorderbuffer.h.

Referenced by ReorderBufferAssignChild().

◆ total_size

◆ tuplecid_hash

HTAB* ReorderBufferTXN::tuplecid_hash

◆ tuplecids

◆ txn_flags

◆ txn_node

pairingheap_node ReorderBufferTXN::txn_node

Definition at line 412 of file reorderbuffer.h.

Referenced by ReorderBufferChangeMemoryUpdate().

◆ 

◆ xid

TransactionId ReorderBufferTXN::xid

Definition at line 263 of file reorderbuffer.h.

Referenced by begin_cb_wrapper(), begin_prepare_cb_wrapper(), change_cb_wrapper(), commit_cb_wrapper(), commit_prepared_cb_wrapper(), logicalrep_write_begin(), logicalrep_write_begin_prepare(), logicalrep_write_commit_prepared(), logicalrep_write_prepare_common(), logicalrep_write_rollback_prepared(), logicalrep_write_stream_commit(), maybe_send_schema(), message_cb_wrapper(), pg_decode_commit_prepared_txn(), pg_decode_commit_txn(), pg_decode_prepare_txn(), pg_decode_rollback_prepared_txn(), pg_decode_stream_abort(), pg_decode_stream_change(), pg_decode_stream_commit(), pg_decode_stream_prepare(), pg_decode_stream_stop(), pg_decode_stream_truncate(), pg_output_begin(), pg_output_stream_start(), pgoutput_change(), pgoutput_commit_txn(), pgoutput_message(), pgoutput_stream_abort(), pgoutput_stream_commit(), pgoutput_stream_start(), pgoutput_truncate(), prepare_cb_wrapper(), ReorderBufferAbortOld(), ReorderBufferCleanupTXN(), ReorderBufferCopySnap(), ReorderBufferGetCatalogChangesXacts(), ReorderBufferProcessTXN(), ReorderBufferRestoreChanges(), ReorderBufferRestoreCleanup(), ReorderBufferReturnTXN(), ReorderBufferSerializeChange(), ReorderBufferSerializeTXN(), ReorderBufferTransferSnapToParent(), ReorderBufferTXNByXid(), rollback_prepared_cb_wrapper(), SnapBuildDistributeNewCatalogSnapshot(), stream_abort_cb_wrapper(), stream_change_cb_wrapper(), stream_commit_cb_wrapper(), stream_message_cb_wrapper(), stream_prepare_cb_wrapper(), stream_start_cb_wrapper(), stream_stop_cb_wrapper(), stream_truncate_cb_wrapper(), truncate_cb_wrapper(), and update_progress_txn_cb_wrapper().


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