LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1266 1395 90.8 %
Date: 2025-11-25 02:17:47 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
SendTimeLineHistory 22
UploadManifest 22
WalSndShutdown 46
WalSndRqstFileReload 58
HandleWalSndInitStopping 74
WalSndLastCycleHandler 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 128
TransactionIdInRecentPast 136
ProcessStandbyHSFeedbackMessage 260
StartReplication 524
DropReplicationSlot 548
ProcessPendingWrites 654
StartLogicalReplication 834
CreateReplicationSlot 946
parseCreateReplSlotOptions 946
WalSndInitStopping 1316
WalSndWaitStopping 1316
WalSndLoop 1338
IdentifySystem 1430
GetStandbyFlushRecPtr 1646
pg_stat_get_wal_senders 1696
WalSndGetStateString 1986
WalSndShmemInit 2202
InitWalSender 2332
InitWalSenderSlot 2332
WalSndKill 2332
WalSndSignals 2332
offset_to_interval 3052
WalSndUpdateProgress 5138
WalSndSegmentOpen 7006
WalSndKeepalive 7708
WalSndShmemSize 8508
ProcessStandbyPSRequestMessage 9674
exec_replication_command 10638
WalSndDone 10844
WalSndSetState 21928
NeedToWaitForStandbys 24838
WalSndWaitForWal 25332
logical_read_xlog_page 25332
NeedToWaitForWal 43102
PhysicalWakeupLogicalWalSnd 50314
PhysicalConfirmReceivedLocation 109772
WalSndComputeSleeptime 176572
WalSndWait 176572
ProcessStandbyReplyMessage 221286
ProcessStandbyMessage 231220
LagTrackerWrite 247690
XLogSendPhysical 264478
WalSndPrepareWrite 369964
WalSndWriteData 369964
LagTrackerRead 663858
XLogSendLogical 1038886
WalSndCheckTimeOut 1423422
WalSndKeepaliveIfNecessary 1423422
ProcessRepliesIfAny 1432692
WalSndWakeup 5393512

Generated by: LCOV version 1.16