LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1267 1395 90.8 %
Date: 2025-12-05 23:17:56 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 58
HandleWalSndInitStopping 74
WalSndLastCycleHandler 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 142
ProcessStandbyHSFeedbackMessage 262
StartReplication 520
DropReplicationSlot 546
ProcessPendingWrites 592
StartLogicalReplication 842
CreateReplicationSlot 946
parseCreateReplSlotOptions 946
WalSndInitStopping 1316
WalSndWaitStopping 1316
WalSndLoop 1342
IdentifySystem 1432
GetStandbyFlushRecPtr 1620
pg_stat_get_wal_senders 1622
WalSndGetStateString 1896
WalSndShmemInit 2208
InitWalSender 2334
InitWalSenderSlot 2334
WalSndKill 2334
WalSndSignals 2334
offset_to_interval 2572
WalSndUpdateProgress 5088
WalSndKeepalive 5486
WalSndDone 6742
WalSndSegmentOpen 7466
WalSndShmemSize 8532
ProcessStandbyPSRequestMessage 10534
exec_replication_command 10648
WalSndSetState 13200
NeedToWaitForStandbys 31770
WalSndWaitForWal 32232
logical_read_xlog_page 32232
PhysicalWakeupLogicalWalSnd 49550
NeedToWaitForWal 50758
PhysicalConfirmReceivedLocation 103462
WalSndComputeSleeptime 124676
WalSndWait 124676
ProcessStandbyReplyMessage 215588
LagTrackerWrite 218412
ProcessStandbyMessage 226384
XLogSendPhysical 237530
WalSndPrepareWrite 370124
WalSndWriteData 370124
LagTrackerRead 646764
XLogSendLogical 1681346
WalSndCheckTimeOut 2016092
WalSndKeepaliveIfNecessary 2016092
ProcessRepliesIfAny 2025798
WalSndWakeup 5384754

Generated by: LCOV version 1.16