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-03 16:18:42 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
WalSndShutdown 46
WalSndRqstFileReload 56
WalSndLastCycleHandler 66
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 142
ProcessStandbyHSFeedbackMessage 264
StartReplication 524
DropReplicationSlot 550
ProcessPendingWrites 560
StartLogicalReplication 830
CreateReplicationSlot 948
parseCreateReplSlotOptions 948
WalSndInitStopping 1318
WalSndWaitStopping 1318
WalSndLoop 1334
IdentifySystem 1426
GetStandbyFlushRecPtr 1642
pg_stat_get_wal_senders 1758
WalSndGetStateString 2048
WalSndShmemInit 2204
InitWalSender 2328
InitWalSenderSlot 2328
WalSndKill 2328
WalSndSignals 2328
offset_to_interval 3314
WalSndUpdateProgress 4954
WalSndShmemSize 8516
WalSndSegmentOpen 9912
WalSndKeepalive 10032
exec_replication_command 10648
ProcessStandbyPSRequestMessage 11422
WalSndDone 17004
NeedToWaitForStandbys 31026
WalSndSetState 31342
WalSndWaitForWal 31522
logical_read_xlog_page 31522
PhysicalWakeupLogicalWalSnd 47888
NeedToWaitForWal 50878
PhysicalConfirmReceivedLocation 101466
WalSndComputeSleeptime 131958
WalSndWait 131958
ProcessStandbyReplyMessage 220902
ProcessStandbyMessage 232588
LagTrackerWrite 235180
XLogSendPhysical 235546
WalSndPrepareWrite 370194
WalSndWriteData 370194
LagTrackerRead 662706
XLogSendLogical 1114470
WalSndCheckTimeOut 1440010
WalSndKeepaliveIfNecessary 1440010
ProcessRepliesIfAny 1452146
WalSndWakeup 5374902

Generated by: LCOV version 1.16