LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1275 1391 91.7 %
Date: 2025-10-13 12:18:13 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 22
WalSndShutdown 22
SendTimeLineHistory 28
WalSndRqstFileReload 56
WalSndLastCycleHandler 62
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 124
TransactionIdInRecentPast 134
ProcessStandbyHSFeedbackMessage 272
ProcessPendingWrites 448
StartReplication 518
DropReplicationSlot 542
StartLogicalReplication 818
CreateReplicationSlot 936
parseCreateReplSlotOptions 936
WalSndInitStopping 1300
WalSndWaitStopping 1300
WalSndLoop 1316
IdentifySystem 1406
pg_stat_get_wal_senders 1698
GetStandbyFlushRecPtr 1736
WalSndGetStateString 1938
WalSndShmemInit 2180
InitWalSender 2294
InitWalSenderSlot 2294
WalSndKill 2294
WalSndSignals 2294
offset_to_interval 3074
WalSndUpdateProgress 5060
WalSndShmemSize 8420
WalSndSegmentOpen 9758
exec_replication_command 10444
WalSndKeepalive 10918
ProcessStandbyPSRequestMessage 13182
WalSndDone 16344
WalSndSetState 30250
NeedToWaitForStandbys 36592
WalSndWaitForWal 37148
logical_read_xlog_page 37148
PhysicalWakeupLogicalWalSnd 48912
NeedToWaitForWal 58272
PhysicalConfirmReceivedLocation 98282
WalSndComputeSleeptime 127444
WalSndWait 127444
ProcessStandbyReplyMessage 198102
ProcessStandbyMessage 211556
LagTrackerWrite 225104
XLogSendPhysical 289210
WalSndPrepareWrite 370074
WalSndWriteData 370074
LagTrackerRead 594306
XLogSendLogical 1677220
WalSndCheckTimeOut 2064812
WalSndKeepaliveIfNecessary 2064812
ProcessRepliesIfAny 2076856
WalSndWakeup 5379000

Generated by: LCOV version 1.16