LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1276 1396 91.4 %
Date: 2026-01-06 22:18:00 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
SendTimeLineHistory 24
WalSndShutdown 28
WalSndRqstFileReload 56
WalSndLastCycleHandler 78
HandleWalSndInitStopping 80
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 142
ProcessStandbyHSFeedbackMessage 286
StartReplication 552
DropReplicationSlot 556
ProcessPendingWrites 566
StartLogicalReplication 834
CreateReplicationSlot 964
parseCreateReplSlotOptions 964
pg_stat_get_wal_senders 1014
offset_to_interval 1206
WalSndGetStateString 1250
WalSndInitStopping 1364
WalSndWaitStopping 1364
WalSndLoop 1366
IdentifySystem 1464
GetStandbyFlushRecPtr 1898
WalSndShmemInit 2268
InitWalSender 2374
InitWalSenderSlot 2374
WalSndKill 2374
WalSndSignals 2374
WalSndUpdateProgress 5246
WalSndKeepalive 7864
WalSndSegmentOpen 8070
WalSndShmemSize 8766
exec_replication_command 10804
ProcessStandbyPSRequestMessage 11234
WalSndDone 11554
WalSndSetState 22452
NeedToWaitForStandbys 28090
WalSndWaitForWal 28596
logical_read_xlog_page 28596
PhysicalWakeupLogicalWalSnd 45284
NeedToWaitForWal 47742
PhysicalConfirmReceivedLocation 94088
WalSndComputeSleeptime 133550
WalSndWait 133550
ProcessStandbyReplyMessage 212242
ProcessStandbyMessage 223762
LagTrackerWrite 231626
XLogSendPhysical 232188
WalSndPrepareWrite 370140
WalSndWriteData 370140
LagTrackerRead 636726
XLogSendLogical 1162344
WalSndCheckTimeOut 1489830
WalSndKeepaliveIfNecessary 1489830
ProcessRepliesIfAny 1500120
WalSndWakeup 5455458

Generated by: LCOV version 1.16