LCOV - code coverage report
Current view: top level - src/backend/replication/logical - slotsync.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 88.9 % 541 481
Test Date: 2026-10-29 00:16:02 Functions: 100.0 % 31 31
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 61.4 % 342 210

Function Name Sort by function name Hit count Sort by function hit count
HandleSlotSyncMessageInterrupt 1
ProcessSlotSyncMessage 1
slotsync_failure_callback 1
slotsync_reread_config 1
extract_slot_names 3
ReplSlotSyncWorkerMain 6
slotsync_worker_disconnect 6
slotsync_worker_onexit 6
reserve_wal_for_local_slot 9
SyncReplicationSlots 12
reset_syncing_flag 12
update_and_persist_local_synced_slot 12
SlotSyncWorkerCanRestart 17
check_and_set_sync_info 18
validate_remote_info 18
CheckAndGetDbnameFromConninfo 19
ValidateSlotSyncParams 31
wait_for_slot_activity 31
IsSyncingReplicationSlots 36
drop_local_obsolete_slots 42
get_local_synced_slots 42
synchronize_slots 42
fetch_remote_slots 44
local_sync_slot_required 56
update_local_synced_slot 62
update_slotsync_skip_stats 62
synchronize_one_slot 64
ShutDownSlotSync 1077
update_synced_slots_inactive_since 1077
SlotSyncShmemInit 1328
SlotSyncShmemRequest 1332

Generated by: LCOV version 2.0-1