LCOV - code coverage report
Current view: top level - src/backend/replication/logical - slotsync.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 89.7 % 543 487
Test Date: 2026-12-02 16:16:08 Functions: 100.0 % 31 31
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 62.5 % 344 215

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 14
SlotSyncWorkerCanRestart 15
check_and_set_sync_info 18
validate_remote_info 18
CheckAndGetDbnameFromConninfo 19
ValidateSlotSyncParams 29
wait_for_slot_activity 31
IsSyncingReplicationSlots 37
drop_local_obsolete_slots 42
get_local_synced_slots 42
synchronize_slots 42
fetch_remote_slots 44
local_sync_slot_required 54
update_local_synced_slot 60
update_slotsync_skip_stats 60
synchronize_one_slot 62
ShutDownSlotSync 1102
update_synced_slots_inactive_since 1102
SlotSyncShmemInit 1359
SlotSyncShmemRequest 1363

Generated by: LCOV version 2.0-1