|
PostgreSQL Source Code git master
|
#include <slot.h>
| ConditionVariable ReplicationSlot::active_cv |
Definition at line 216 of file slot.h.
Referenced by InvalidatePossiblyObsoleteSlot(), ReplicationSlotAcquire(), ReplicationSlotCleanup(), ReplicationSlotCreate(), ReplicationSlotDropPtr(), ReplicationSlotRelease(), and ReplicationSlotsShmemInit().
| pid_t ReplicationSlot::active_pid |
Definition at line 189 of file slot.h.
Referenced by InvalidatePossiblyObsoleteSlot(), pg_get_replication_slots(), ReplicationSlotAcquire(), ReplicationSlotCleanup(), ReplicationSlotCreate(), ReplicationSlotDropPtr(), ReplicationSlotRelease(), ReplicationSlotsCountDBSlots(), ReplicationSlotsDropDBSlots(), RestoreSlotFromDisk(), StandbySlotsHaveCaughtup(), and update_synced_slots_inactive_since().
| TransactionId ReplicationSlot::candidate_catalog_xmin |
Definition at line 225 of file slot.h.
Referenced by LogicalConfirmReceivedLocation(), LogicalIncreaseXminForSlot(), ReplicationSlotCreate(), and RestoreSlotFromDisk().
| XLogRecPtr ReplicationSlot::candidate_restart_lsn |
Definition at line 228 of file slot.h.
Referenced by LogicalConfirmReceivedLocation(), LogicalIncreaseRestartDecodingForSlot(), ReplicationSlotCreate(), and RestoreSlotFromDisk().
| XLogRecPtr ReplicationSlot::candidate_restart_valid |
Definition at line 227 of file slot.h.
Referenced by LogicalConfirmReceivedLocation(), LogicalIncreaseRestartDecodingForSlot(), ReplicationSlotCreate(), and RestoreSlotFromDisk().
| XLogRecPtr ReplicationSlot::candidate_xmin_lsn |
Definition at line 226 of file slot.h.
Referenced by LogicalConfirmReceivedLocation(), LogicalIncreaseXminForSlot(), ReplicationSlotCreate(), and RestoreSlotFromDisk().
| ReplicationSlotPersistentData ReplicationSlot::data |
Definition at line 210 of file slot.h.
Referenced by ApplyLauncherMain(), binary_upgrade_logical_slot_has_caught_up(), CanInvalidateIdleSlot(), CheckPointReplicationSlots(), copy_replication_slot(), create_physical_replication_slot(), CreateDecodingContext(), CreateInitDecodingContext(), CreateReplicationSlot(), CreateSlotOnDisk(), DecodeDelete(), DecodeInsert(), DecodeMultiInsert(), DecodeSpecConfirm(), DecodeTruncate(), DecodeTXNNeedSkip(), DecodeUpdate(), DecodingContextFindStartpoint(), DetermineSlotInvalidationCause(), get_local_synced_slots(), init_conflict_slot_xmin(), InvalidatePossiblyObsoleteSlot(), local_sync_slot_required(), LogicalConfirmReceivedLocation(), LogicalIncreaseRestartDecodingForSlot(), LogicalIncreaseXminForSlot(), logicalmsg_decode(), logicalrep_worker_launch(), 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(), pgstat_report_replslotsync(), PhysicalConfirmReceivedLocation(), PhysicalReplicationSlotNewXmin(), PhysicalWakeupLogicalWalSnd(), ReadReplicationSlot(), ReorderBufferAllocate(), ReorderBufferFree(), ReorderBufferSerializedPath(), ReplicationSlotAcquire(), ReplicationSlotAlter(), ReplicationSlotCleanup(), ReplicationSlotCreate(), ReplicationSlotDrop(), ReplicationSlotDropPtr(), ReplicationSlotName(), ReplicationSlotPersist(), ReplicationSlotRelease(), ReplicationSlotReserveWal(), ReplicationSlotSave(), ReplicationSlotsComputeLogicalRestartLSN(), ReplicationSlotsComputeRequiredLSN(), ReplicationSlotsComputeRequiredXmin(), ReplicationSlotsCountDBSlots(), ReplicationSlotsDropDBSlots(), ReplicationSlotSetInactiveSince(), reserve_wal_for_local_slot(), RestoreSlotFromDisk(), SaveSlotToPath(), SearchNamedReplicationSlot(), StandbySlotsHaveCaughtup(), StartLogicalReplication(), StartupDecodingContext(), synchronize_one_slot(), update_and_persist_local_synced_slot(), update_conflict_slot_xmin(), update_local_synced_slot(), update_synced_slots_inactive_since(), and WaitForStandbyConfirmation().
| bool ReplicationSlot::dirty |
Definition at line 193 of file slot.h.
Referenced by CheckPointReplicationSlots(), CreateSlotOnDisk(), ReplicationSlotCreate(), ReplicationSlotMarkDirty(), and SaveSlotToPath().
| TransactionId ReplicationSlot::effective_catalog_xmin |
Definition at line 207 of file slot.h.
Referenced by copy_replication_slot(), CreateInitDecodingContext(), DetermineSlotInvalidationCause(), LogicalConfirmReceivedLocation(), PhysicalReplicationSlotNewXmin(), ReplicationSlotCreate(), ReplicationSlotsComputeRequiredXmin(), RestoreSlotFromDisk(), synchronize_one_slot(), and update_local_synced_slot().
| TransactionId ReplicationSlot::effective_xmin |
Definition at line 206 of file slot.h.
Referenced by copy_replication_slot(), CreateInitDecodingContext(), DetermineSlotInvalidationCause(), init_conflict_slot_xmin(), PhysicalReplicationSlotNewXmin(), ReplicationSlotCreate(), ReplicationSlotRelease(), ReplicationSlotsComputeRequiredXmin(), RestoreSlotFromDisk(), and update_conflict_slot_xmin().
| bool ReplicationSlot::in_use |
Definition at line 186 of file slot.h.
Referenced by CheckPointReplicationSlots(), copy_replication_slot(), get_local_synced_slots(), InvalidateObsoleteReplicationSlots(), InvalidatePossiblyObsoleteSlot(), pg_get_replication_slots(), ReadReplicationSlot(), ReplicationSlotAcquire(), ReplicationSlotCleanup(), ReplicationSlotCreate(), ReplicationSlotDropPtr(), ReplicationSlotName(), ReplicationSlotsComputeLogicalRestartLSN(), ReplicationSlotsComputeRequiredLSN(), ReplicationSlotsComputeRequiredXmin(), ReplicationSlotsCountDBSlots(), ReplicationSlotsDropDBSlots(), RestoreSlotFromDisk(), SearchNamedReplicationSlot(), and update_synced_slots_inactive_since().
| TimestampTz ReplicationSlot::inactive_since |
Definition at line 242 of file slot.h.
Referenced by CanInvalidateIdleSlot(), DetermineSlotInvalidationCause(), pg_get_replication_slots(), ReplicationSlotCreate(), and ReplicationSlotSetInactiveSince().
| LWLock ReplicationSlot::io_in_progress_lock |
Definition at line 213 of file slot.h.
Referenced by ReplicationSlotsShmemInit(), and SaveSlotToPath().
| bool ReplicationSlot::just_dirtied |
Definition at line 192 of file slot.h.
Referenced by CheckPointReplicationSlots(), ReplicationSlotCreate(), ReplicationSlotMarkDirty(), and SaveSlotToPath().
| XLogRecPtr ReplicationSlot::last_saved_confirmed_flush |
Definition at line 235 of file slot.h.
Referenced by CheckPointReplicationSlots(), ReplicationSlotCreate(), RestoreSlotFromDisk(), and SaveSlotToPath().
| XLogRecPtr ReplicationSlot::last_saved_restart_lsn |
Definition at line 268 of file slot.h.
Referenced by CheckPointReplicationSlots(), InvalidatePossiblyObsoleteSlot(), ReplicationSlotCreate(), ReplicationSlotReserveWal(), ReplicationSlotsComputeLogicalRestartLSN(), ReplicationSlotsComputeRequiredLSN(), RestoreSlotFromDisk(), and SaveSlotToPath().
| slock_t ReplicationSlot::mutex |
Definition at line 183 of file slot.h.
Referenced by CheckPointReplicationSlots(), copy_replication_slot(), CreateDecodingContext(), CreateInitDecodingContext(), DecodingContextFindStartpoint(), init_conflict_slot_xmin(), InvalidatePossiblyObsoleteSlot(), local_sync_slot_required(), LogicalConfirmReceivedLocation(), LogicalIncreaseRestartDecodingForSlot(), LogicalIncreaseXminForSlot(), pg_get_replication_slots(), pg_physical_replication_slot_advance(), PhysicalConfirmReceivedLocation(), PhysicalReplicationSlotNewXmin(), ReadReplicationSlot(), ReplicationSlotAcquire(), ReplicationSlotAlter(), ReplicationSlotCleanup(), ReplicationSlotCreate(), ReplicationSlotDropPtr(), ReplicationSlotMarkDirty(), ReplicationSlotPersist(), ReplicationSlotRelease(), ReplicationSlotReserveWal(), ReplicationSlotsComputeLogicalRestartLSN(), ReplicationSlotsComputeRequiredLSN(), ReplicationSlotsComputeRequiredXmin(), ReplicationSlotsCountDBSlots(), ReplicationSlotsDropDBSlots(), ReplicationSlotSetInactiveSince(), ReplicationSlotsShmemInit(), reserve_wal_for_local_slot(), SaveSlotToPath(), StandbySlotsHaveCaughtup(), synchronize_one_slot(), update_conflict_slot_xmin(), update_local_synced_slot(), and update_slotsync_skip_stats().
| SlotSyncSkipReason ReplicationSlot::slotsync_skip_reason |
Definition at line 281 of file slot.h.
Referenced by pg_get_replication_slots(), ReplicationSlotCreate(), and update_slotsync_skip_stats().