PostgreSQL Source Code  git master
ReplicationSlot Struct Reference

#include <slot.h>

Data Fields

slock_t mutex
 
bool in_use
 
pid_t active_pid
 
bool just_dirtied
 
bool dirty
 
TransactionId effective_xmin
 
TransactionId effective_catalog_xmin
 
ReplicationSlotPersistentData data
 
LWLock io_in_progress_lock
 
ConditionVariable active_cv
 
TransactionId candidate_catalog_xmin
 
XLogRecPtr candidate_xmin_lsn
 
XLogRecPtr candidate_restart_valid
 
XLogRecPtr candidate_restart_lsn
 
XLogRecPtr last_saved_confirmed_flush
 
TimestampTz inactive_since
 

Detailed Description

Definition at line 151 of file slot.h.

Field Documentation

◆ active_cv

◆ active_pid

◆ candidate_catalog_xmin

TransactionId ReplicationSlot::candidate_catalog_xmin

◆ candidate_restart_lsn

XLogRecPtr ReplicationSlot::candidate_restart_lsn

◆ candidate_restart_valid

XLogRecPtr ReplicationSlot::candidate_restart_valid

◆ candidate_xmin_lsn

XLogRecPtr ReplicationSlot::candidate_xmin_lsn

◆ data

ReplicationSlotPersistentData ReplicationSlot::data

Definition at line 181 of file slot.h.

Referenced by binary_upgrade_logical_slot_has_caught_up(), CheckPointReplicationSlots(), copy_replication_slot(), create_physical_replication_slot(), CreateDecodingContext(), CreateInitDecodingContext(), CreateReplicationSlot(), CreateSlotOnDisk(), DecodeDelete(), DecodeInsert(), DecodeMultiInsert(), DecodeSpecConfirm(), DecodeTruncate(), DecodeTXNNeedSkip(), DecodeUpdate(), DecodingContextFindStartpoint(), get_local_synced_slots(), InvalidatePossiblyObsoleteSlot(), local_sync_slot_required(), LogicalConfirmReceivedLocation(), LogicalIncreaseRestartDecodingForSlot(), LogicalIncreaseXminForSlot(), logicalmsg_decode(), LogicalReplicationSlotHasPendingWal(), LogicalSlotAdvanceAndCheckSnapState(), NeedToWaitForStandbys(), pg_create_logical_replication_slot(), pg_create_physical_replication_slot(), pg_get_replication_slots(), pg_logical_slot_get_changes_guts(), pg_physical_replication_slot_advance(), pg_replication_slot_advance(), PhysicalConfirmReceivedLocation(), PhysicalReplicationSlotNewXmin(), PhysicalWakeupLogicalWalSnd(), ReadReplicationSlot(), ReorderBufferAllocate(), ReorderBufferFree(), ReorderBufferSerializedPath(), ReplicationSlotAcquire(), ReplicationSlotAlter(), ReplicationSlotCleanup(), ReplicationSlotCreate(), ReplicationSlotDrop(), ReplicationSlotDropPtr(), ReplicationSlotName(), ReplicationSlotPersist(), ReplicationSlotRelease(), ReplicationSlotReserveWal(), ReplicationSlotSave(), ReplicationSlotsComputeLogicalRestartLSN(), ReplicationSlotsComputeRequiredLSN(), ReplicationSlotsComputeRequiredXmin(), ReplicationSlotsCountDBSlots(), ReplicationSlotsDropDBSlots(), reserve_wal_for_local_slot(), RestoreSlotFromDisk(), SaveSlotToPath(), SearchNamedReplicationSlot(), StandbySlotsHaveCaughtup(), StartLogicalReplication(), StartupDecodingContext(), synchronize_one_slot(), update_and_persist_local_synced_slot(), update_local_synced_slot(), update_synced_slots_inactive_since(), and WaitForStandbyConfirmation().

◆ dirty

bool ReplicationSlot::dirty

◆ effective_catalog_xmin

◆ effective_xmin

◆ in_use

◆ inactive_since

◆ io_in_progress_lock

LWLock ReplicationSlot::io_in_progress_lock

Definition at line 184 of file slot.h.

Referenced by ReplicationSlotsShmemInit(), and SaveSlotToPath().

◆ just_dirtied

bool ReplicationSlot::just_dirtied

◆ last_saved_confirmed_flush

XLogRecPtr ReplicationSlot::last_saved_confirmed_flush

◆ mutex


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