LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1280 1396 91.7 %
Date: 2026-02-01 18:17:52 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
WalSndShutdown 24
SendTimeLineHistory 26
WalSndRqstFileReload 56
WalSndLastCycleHandler 74
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 132
TransactionIdInRecentPast 144
ProcessStandbyHSFeedbackMessage 288
ProcessPendingWrites 442
DropReplicationSlot 556
StartReplication 562
StartLogicalReplication 834
CreateReplicationSlot 974
parseCreateReplSlotOptions 974
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1376
IdentifySystem 1482
pg_stat_get_wal_senders 1526
WalSndGetStateString 1790
GetStandbyFlushRecPtr 1914
WalSndShmemInit 2280
InitWalSender 2394
InitWalSenderSlot 2394
WalSndKill 2394
WalSndSignals 2394
offset_to_interval 2624
ProcessStandbyPSRequestMessage 4410
WalSndUpdateProgress 5298
WalSndShmemSize 8814
WalSndSegmentOpen 9258
WalSndKeepalive 10418
exec_replication_command 10884
WalSndDone 14862
WalSndSetState 28016
NeedToWaitForStandbys 32642
WalSndWaitForWal 33198
logical_read_xlog_page 33198
NeedToWaitForWal 45790
PhysicalWakeupLogicalWalSnd 56534
PhysicalConfirmReceivedLocation 115814
WalSndComputeSleeptime 131324
WalSndWait 131324
ProcessStandbyReplyMessage 209598
ProcessStandbyMessage 214296
XLogSendPhysical 237132
LagTrackerWrite 237400
WalSndPrepareWrite 376208
WalSndWriteData 376208
LagTrackerRead 628794
XLogSendLogical 1382054
WalSndCheckTimeOut 1710390
WalSndKeepaliveIfNecessary 1710390
ProcessRepliesIfAny 1721996
WalSndWakeup 5466778

Generated by: LCOV version 1.16