LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1271 1387 91.6 %
Date: 2025-09-05 15:18: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 936
DropReplicationSlot 538
GetStandbyFlushRecPtr 1746
HandleUploadManifestPacket 86
HandleWalSndInitStopping 72
IdentifySystem 1392
InitWalSender 2266
InitWalSenderSlot 2266
LagTrackerRead 651960
LagTrackerWrite 241822
NeedToWaitForStandbys 24600
NeedToWaitForWal 34018
PhysicalConfirmReceivedLocation 103726
PhysicalReplicationSlotNewXmin 124
PhysicalWakeupLogicalWalSnd 49412
ProcessPendingWrites 610
ProcessRepliesIfAny 1537902
ProcessStandbyHSFeedbackMessage 272
ProcessStandbyMessage 218562
ProcessStandbyPSRequestMessage 970
ProcessStandbyReplyMessage 217320
ReadReplicationSlot 12
SendTimeLineHistory 28
StartLogicalReplication 804
StartReplication 518
TransactionIdInRecentPast 134
UploadManifest 22
WalSndCheckTimeOut 1529200
WalSndComputeSleeptime 119918
WalSndDone 18556
WalSndErrorCleanup 96
WalSndGetStateString 2024
WalSndInitStopping 1272
WalSndKeepalive 11696
WalSndKeepaliveIfNecessary 1529200
WalSndKill 2266
WalSndLastCycleHandler 66
WalSndLoop 1302
WalSndPrepareWrite 369952
WalSndRqstFileReload 58
WalSndSegmentOpen 6450
WalSndSetState 37788
WalSndShmemInit 2152
WalSndShmemSize 8308
WalSndShutdown 32
WalSndSignals 2266
WalSndUpdateProgress 4886
WalSndWait 119918
WalSndWaitForWal 25064
WalSndWaitStopping 1272
WalSndWakeup 5373212
WalSndWriteData 369952
XLogSendLogical 1153716
XLogSendPhysical 299600
exec_replication_command 10378
logical_read_xlog_page 25064
offset_to_interval 3242
parseCreateReplSlotOptions 936
pg_stat_get_wal_senders 1752

Generated by: LCOV version 1.16