LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1275 1396 91.3 %
Date: 2026-01-13 13:16:43 Functions: 60 60 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AlterReplicationSlot 14
CreateReplicationSlot 968
DropReplicationSlot 558
GetStandbyFlushRecPtr 1888
HandleUploadManifestPacket 86
HandleWalSndInitStopping 82
IdentifySystem 1496
InitWalSender 2408
InitWalSenderSlot 2408
LagTrackerRead 711204
LagTrackerWrite 230698
NeedToWaitForStandbys 27806
NeedToWaitForWal 53006
PhysicalConfirmReceivedLocation 127378
PhysicalReplicationSlotNewXmin 124
PhysicalWakeupLogicalWalSnd 59874
ProcessPendingWrites 604
ProcessRepliesIfAny 2074718
ProcessStandbyHSFeedbackMessage 286
ProcessStandbyMessage 253894
ProcessStandbyPSRequestMessage 16540
ProcessStandbyReplyMessage 237068
ReadReplicationSlot 12
SendTimeLineHistory 26
StartLogicalReplication 860
StartReplication 558
TransactionIdInRecentPast 130
UploadManifest 22
WalSndCheckTimeOut 2066872
WalSndComputeSleeptime 163610
WalSndDone 1292
WalSndErrorCleanup 96
WalSndGetStateString 1860
WalSndInitStopping 1364
WalSndKeepalive 3324
WalSndKeepaliveIfNecessary 2066872
WalSndKill 2408
WalSndLastCycleHandler 82
WalSndLoop 1398
WalSndPrepareWrite 370074
WalSndRqstFileReload 56
WalSndSegmentOpen 5554
WalSndSetState 4452
WalSndShmemInit 2272
WalSndShmemSize 8782
WalSndShutdown 68
WalSndSignals 2408
WalSndUpdateProgress 5034
WalSndWait 163610
WalSndWaitForWal 28282
WalSndWaitStopping 1364
WalSndWakeup 5466988
WalSndWriteData 370074
XLogSendLogical 1672490
XLogSendPhysical 271784
exec_replication_command 10918
logical_read_xlog_page 28282
offset_to_interval 2570
parseCreateReplSlotOptions 968
pg_stat_get_wal_senders 1554

Generated by: LCOV version 1.16