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-02 12:17:50 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 30
WalSndRqstFileReload 58
WalSndLastCycleHandler 72
HandleWalSndInitStopping 80
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 134
TransactionIdInRecentPast 142
ProcessStandbyHSFeedbackMessage 284
ProcessPendingWrites 466
StartReplication 550
DropReplicationSlot 554
StartLogicalReplication 836
CreateReplicationSlot 962
parseCreateReplSlotOptions 962
WalSndInitStopping 1364
WalSndWaitStopping 1364
WalSndLoop 1366
IdentifySystem 1466
pg_stat_get_wal_senders 1806
GetStandbyFlushRecPtr 1908
WalSndGetStateString 2048
WalSndShmemInit 2266
InitWalSender 2372
InitWalSenderSlot 2372
WalSndKill 2372
WalSndSignals 2372
offset_to_interval 3442
WalSndUpdateProgress 5154
WalSndSegmentOpen 8500
WalSndShmemSize 8758
exec_replication_command 10800
ProcessStandbyPSRequestMessage 11790
WalSndKeepalive 12434
WalSndDone 20874
NeedToWaitForStandbys 30964
WalSndWaitForWal 31500
logical_read_xlog_page 31500
WalSndSetState 40720
NeedToWaitForWal 51206
PhysicalWakeupLogicalWalSnd 52750
PhysicalConfirmReceivedLocation 110960
WalSndComputeSleeptime 154554
WalSndWait 154554
ProcessStandbyReplyMessage 221036
ProcessStandbyMessage 233110
LagTrackerWrite 247236
XLogSendPhysical 256780
WalSndPrepareWrite 370068
WalSndWriteData 370068
LagTrackerRead 663108
XLogSendLogical 1374692
WalSndCheckTimeOut 1739466
WalSndKeepaliveIfNecessary 1739466
ProcessRepliesIfAny 1750176
WalSndWakeup 5479242

Generated by: LCOV version 1.16