LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1277 1395 91.5 %
Date: 2026-02-10 11:18:02 Functions: 61 61 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ReadReplicationSlot 12
AlterReplicationSlot 14
UploadManifest 24
SendTimeLineHistory 26
WalSndRqstFileReload 58
WalSndShutdown 72
HandleWalSndInitStopping 80
WalSndLastCycleHandler 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 126
TransactionIdInRecentPast 130
ProcessStandbyHSFeedbackMessage 280
DropReplicationSlot 552
StartReplication 560
ProcessPendingWrites 600
StartLogicalReplication 868
CreateReplicationSlot 974
parseCreateReplSlotOptions 974
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1408
IdentifySystem 1516
pg_stat_get_wal_senders 1532
WalSndGetStateString 1810
GetStandbyFlushRecPtr 1958
WalSndShmemInit 2280
InitWalSender 2420
InitWalSenderSlot 2420
WalSndKill 2420
WalSndSignals 2420
offset_to_interval 2742
WalSndUpdateProgress 5144
WalSndSegmentOpen 8556
WalSndShmemSize 8814
exec_replication_command 10974
WalSndKeepalive 12338
ProcessStandbyPSRequestMessage 15850
WalSndDone 20766
NeedToWaitForStandbys 34072
WalSndWaitForWal 34540
logical_read_xlog_page 34540
WalSndSetState 40430
NeedToWaitForWal 58512
PhysicalWakeupLogicalWalSnd 61324
PhysicalConfirmReceivedLocation 137678
WalSndComputeSleeptime 210816
WalSndWait 210816
ProcessStandbyReplyMessage 267026
ProcessStandbyMessage 283156
LagTrackerWrite 288034
XLogSendPhysical 288488
WalSndPrepareWrite 370096
WalSndWriteData 370096
LagTrackerRead 801078
XLogSendLogical 1689964
WalSndCheckTimeOut 2099460
WalSndKeepaliveIfNecessary 2099460
WalSndHandleConfigReload 2109702
ProcessRepliesIfAny 2110302
WalSndWakeup 5490454

Generated by: LCOV version 1.16