PostgreSQL Source Code  git master
ReorderBufferChange Struct Reference

#include <reorderbuffer.h>

Data Fields

XLogRecPtr lsn
 
enum ReorderBufferChangeType action
 
struct ReorderBufferTXNtxn
 
RepOriginId origin_id
 
union {
   struct {
      RelFileNode   relnode
 
      bool   clear_toast_afterwards
 
      ReorderBufferTupleBuf *   oldtuple
 
      ReorderBufferTupleBuf *   newtuple
 
   }   tp
 
   struct {
      Size   nrelids
 
      bool   cascade
 
      bool   restart_seqs
 
      Oid *   relids
 
   }   truncate
 
   struct {
      char *   prefix
 
      Size   message_size
 
      char *   message
 
   }   msg
 
   Snapshot   snapshot
 
   CommandId   command_id
 
   struct {
      RelFileNode   node
 
      ItemPointerData   tid
 
      CommandId   cmin
 
      CommandId   cmax
 
      CommandId   combocid
 
   }   tuplecid
 
data
 
dlist_node node
 

Detailed Description

Definition at line 78 of file reorderbuffer.h.

Field Documentation

◆ action

◆ cascade

bool ReorderBufferChange::cascade

Definition at line 118 of file reorderbuffer.h.

◆ clear_toast_afterwards

bool ReorderBufferChange::clear_toast_afterwards

Definition at line 103 of file reorderbuffer.h.

◆ cmax

CommandId ReorderBufferChange::cmax

Definition at line 149 of file reorderbuffer.h.

◆ cmin

CommandId ReorderBufferChange::cmin

Definition at line 148 of file reorderbuffer.h.

◆ combocid

CommandId ReorderBufferChange::combocid

Definition at line 150 of file reorderbuffer.h.

◆ command_id

CommandId ReorderBufferChange::command_id

Definition at line 138 of file reorderbuffer.h.

Referenced by ReorderBufferAddNewCommandId(), and ReorderBufferCommit().

◆ data

◆ lsn

◆ message

char* ReorderBufferChange::message

Definition at line 128 of file reorderbuffer.h.

◆ message_size

Size ReorderBufferChange::message_size

Definition at line 127 of file reorderbuffer.h.

◆ msg

◆ newtuple

ReorderBufferTupleBuf* ReorderBufferChange::newtuple

Definition at line 108 of file reorderbuffer.h.

◆ node [1/2]

◆ node [2/2]

dlist_node ReorderBufferChange::node

Definition at line 158 of file reorderbuffer.h.

◆ nrelids

Size ReorderBufferChange::nrelids

Definition at line 117 of file reorderbuffer.h.

◆ oldtuple

ReorderBufferTupleBuf* ReorderBufferChange::oldtuple

Definition at line 106 of file reorderbuffer.h.

◆ origin_id

RepOriginId ReorderBufferChange::origin_id

◆ prefix

char* ReorderBufferChange::prefix

Definition at line 126 of file reorderbuffer.h.

◆ relids

Oid* ReorderBufferChange::relids

Definition at line 120 of file reorderbuffer.h.

◆ relnode

RelFileNode ReorderBufferChange::relnode

Definition at line 100 of file reorderbuffer.h.

◆ restart_seqs

bool ReorderBufferChange::restart_seqs

Definition at line 119 of file reorderbuffer.h.

◆ snapshot

◆ tid

ItemPointerData ReorderBufferChange::tid

Definition at line 147 of file reorderbuffer.h.

◆ tp

◆ truncate

◆ tuplecid

struct { ... } ReorderBufferChange::tuplecid

◆ txn


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