LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1276 1391 91.7 %
Date: 2025-09-13 11:18:09 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 28
WalSndShutdown 30
WalSndRqstFileReload 56
WalSndLastCycleHandler 68
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 124
TransactionIdInRecentPast 132
ProcessStandbyHSFeedbackMessage 268
ProcessPendingWrites 440
StartReplication 516
DropReplicationSlot 542
StartLogicalReplication 822
CreateReplicationSlot 938
parseCreateReplSlotOptions 938
WalSndInitStopping 1294
WalSndWaitStopping 1294
WalSndLoop 1318
IdentifySystem 1408
pg_stat_get_wal_senders 1722
GetStandbyFlushRecPtr 1744
WalSndGetStateString 1966
WalSndShmemInit 2174
InitWalSender 2292
InitWalSenderSlot 2292
WalSndKill 2292
WalSndSignals 2294
offset_to_interval 3032
WalSndDone 4300
WalSndSetState 4344
WalSndUpdateProgress 5150
WalSndKeepalive 5952
ProcessStandbyPSRequestMessage 7164
WalSndShmemSize 8396
exec_replication_command 10462
WalSndSegmentOpen 11522
NeedToWaitForStandbys 40158
WalSndWaitForWal 40690
logical_read_xlog_page 40690
PhysicalWakeupLogicalWalSnd 48906
NeedToWaitForWal 55896
PhysicalConfirmReceivedLocation 98250
WalSndComputeSleeptime 108204
WalSndWait 108204
LagTrackerWrite 194838
ProcessStandbyReplyMessage 195504
ProcessStandbyMessage 202936
XLogSendPhysical 220322
WalSndPrepareWrite 376152
WalSndWriteData 376152
LagTrackerRead 586512
XLogSendLogical 1693306
WalSndCheckTimeOut 2011550
WalSndKeepaliveIfNecessary 2011550
ProcessRepliesIfAny 2025408
WalSndWakeup 5360524

Generated by: LCOV version 1.16