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-12-09 11:18:34 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 56
WalSndRqstFileReload 58
HandleWalSndInitStopping 74
WalSndLastCycleHandler 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 142
ProcessStandbyHSFeedbackMessage 268
StartReplication 528
DropReplicationSlot 548
ProcessPendingWrites 564
StartLogicalReplication 834
CreateReplicationSlot 952
parseCreateReplSlotOptions 952
WalSndInitStopping 1314
WalSndWaitStopping 1314
WalSndLoop 1342
IdentifySystem 1434
GetStandbyFlushRecPtr 1632
WalSndDone 1678
pg_stat_get_wal_senders 1702
WalSndGetStateString 2000
WalSndShmemInit 2206
InitWalSender 2336
InitWalSenderSlot 2336
WalSndKill 2336
WalSndSignals 2336
offset_to_interval 2942
WalSndKeepalive 3430
WalSndSetState 4550
WalSndUpdateProgress 5068
WalSndSegmentOpen 6052
WalSndShmemSize 8524
exec_replication_command 10676
ProcessStandbyPSRequestMessage 12956
NeedToWaitForStandbys 24054
WalSndWaitForWal 24534
logical_read_xlog_page 24534
NeedToWaitForWal 45640
PhysicalWakeupLogicalWalSnd 51270
PhysicalConfirmReceivedLocation 103340
WalSndComputeSleeptime 116168
WalSndWait 116168
LagTrackerWrite 201692
XLogSendPhysical 209172
ProcessStandbyReplyMessage 212352
ProcessStandbyMessage 225576
WalSndPrepareWrite 370146
WalSndWriteData 370146
LagTrackerRead 637056
XLogSendLogical 1155262
WalSndCheckTimeOut 1472344
WalSndKeepaliveIfNecessary 1472344
ProcessRepliesIfAny 1480710
WalSndWakeup 5383554

Generated by: LCOV version 1.16