LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1280 1396 91.7 %
Date: 2026-01-12 05:17:19 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 24
WalSndShutdown 36
WalSndRqstFileReload 54
WalSndLastCycleHandler 76
HandleWalSndInitStopping 80
HandleUploadManifestPacket 86
WalSndErrorCleanup 100
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 142
ProcessStandbyHSFeedbackMessage 290
ProcessPendingWrites 552
DropReplicationSlot 556
StartReplication 556
StartLogicalReplication 840
CreateReplicationSlot 962
parseCreateReplSlotOptions 962
WalSndInitStopping 1364
WalSndWaitStopping 1364
WalSndLoop 1376
IdentifySystem 1474
pg_stat_get_wal_senders 1502
WalSndGetStateString 1794
GetStandbyFlushRecPtr 1884
WalSndShmemInit 2272
InitWalSender 2380
InitWalSenderSlot 2380
WalSndKill 2380
WalSndSignals 2380
offset_to_interval 2578
WalSndUpdateProgress 5134
WalSndSegmentOpen 6612
WalSndShmemSize 8782
WalSndKeepalive 10344
exec_replication_command 10814
WalSndDone 14982
ProcessStandbyPSRequestMessage 18118
NeedToWaitForStandbys 27392
WalSndWaitForWal 27958
logical_read_xlog_page 27958
WalSndSetState 30898
PhysicalWakeupLogicalWalSnd 42996
NeedToWaitForWal 54558
PhysicalConfirmReceivedLocation 91456
WalSndComputeSleeptime 148512
WalSndWait 148512
ProcessStandbyReplyMessage 203750
ProcessStandbyMessage 222158
LagTrackerWrite 244380
XLogSendPhysical 245768
WalSndPrepareWrite 370016
WalSndWriteData 370016
LagTrackerRead 611250
XLogSendLogical 1372816
WalSndCheckTimeOut 1720142
WalSndKeepaliveIfNecessary 1720142
ProcessRepliesIfAny 1729280
WalSndWakeup 5460576

Generated by: LCOV version 1.16