LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1275 1396 91.3 %
Date: 2026-01-20 09:17:15 Functions: 60 60 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 56
WalSndShutdown 64
HandleWalSndInitStopping 82
WalSndLastCycleHandler 82
HandleUploadManifestPacket 94
WalSndErrorCleanup 100
PhysicalReplicationSlotNewXmin 132
TransactionIdInRecentPast 140
ProcessStandbyHSFeedbackMessage 290
ProcessPendingWrites 512
DropReplicationSlot 556
StartReplication 564
StartLogicalReplication 862
CreateReplicationSlot 972
parseCreateReplSlotOptions 972
WalSndInitStopping 1370
WalSndWaitStopping 1370
WalSndLoop 1406
IdentifySystem 1510
pg_stat_get_wal_senders 1610
WalSndGetStateString 1886
GetStandbyFlushRecPtr 1910
WalSndShmemInit 2276
InitWalSender 2420
InitWalSenderSlot 2420
WalSndKill 2420
WalSndSignals 2420
offset_to_interval 2750
WalSndUpdateProgress 5052
WalSndShmemSize 8798
exec_replication_command 10960
ProcessStandbyPSRequestMessage 12364
WalSndSetState 13276
WalSndKeepalive 13390
WalSndDone 17076
WalSndSegmentOpen 28350
PhysicalWakeupLogicalWalSnd 61212
NeedToWaitForStandbys 73398
WalSndWaitForWal 73886
logical_read_xlog_page 73886
NeedToWaitForWal 94358
PhysicalConfirmReceivedLocation 125214
WalSndComputeSleeptime 148360
WalSndWait 148360
LagTrackerWrite 218094
XLogSendPhysical 242554
ProcessStandbyReplyMessage 245978
ProcessStandbyMessage 258632
WalSndPrepareWrite 375992
WalSndWriteData 375992
LagTrackerRead 737934
XLogSendLogical 1706534
WalSndCheckTimeOut 2061186
WalSndKeepaliveIfNecessary 2061186
ProcessRepliesIfAny 2091844
WalSndWakeup 5469116

Generated by: LCOV version 1.16