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-05 15:17:48 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
WalSndRqstFileReload 56
WalSndShutdown 64
WalSndLastCycleHandler 68
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 142
ProcessStandbyHSFeedbackMessage 264
StartReplication 524
DropReplicationSlot 548
ProcessPendingWrites 570
StartLogicalReplication 844
CreateReplicationSlot 946
parseCreateReplSlotOptions 946
WalSndInitStopping 1316
WalSndWaitStopping 1316
WalSndLoop 1348
IdentifySystem 1440
pg_stat_get_wal_senders 1572
GetStandbyFlushRecPtr 1632
WalSndGetStateString 1864
WalSndShmemInit 2208
InitWalSender 2346
InitWalSenderSlot 2346
WalSndKill 2346
WalSndSignals 2346
offset_to_interval 2432
WalSndUpdateProgress 5096
WalSndKeepalive 7718
WalSndShmemSize 8532
ProcessStandbyPSRequestMessage 9378
WalSndSegmentOpen 9440
exec_replication_command 10670
WalSndDone 12176
WalSndSetState 22138
NeedToWaitForStandbys 35802
WalSndWaitForWal 36288
logical_read_xlog_page 36288
PhysicalWakeupLogicalWalSnd 49840
NeedToWaitForWal 53688
PhysicalConfirmReceivedLocation 104022
WalSndComputeSleeptime 128132
WalSndWait 128132
ProcessStandbyReplyMessage 212346
ProcessStandbyMessage 221988
LagTrackerWrite 226148
XLogSendPhysical 319952
WalSndPrepareWrite 376074
WalSndWriteData 376074
LagTrackerRead 637038
XLogSendLogical 1693536
WalSndCheckTimeOut 2107444
WalSndKeepaliveIfNecessary 2107444
ProcessRepliesIfAny 2119136
WalSndWakeup 5375974

Generated by: LCOV version 1.16