LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1282 1395 91.9 %
Date: 2026-02-11 23:17:34 Functions: 61 61 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ReadReplicationSlot 12
AlterReplicationSlot 14
UploadManifest 24
SendTimeLineHistory 26
WalSndShutdown 26
WalSndRqstFileReload 56
WalSndLastCycleHandler 72
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 132
ProcessStandbyHSFeedbackMessage 286
DropReplicationSlot 556
StartReplication 562
ProcessPendingWrites 574
StartLogicalReplication 836
CreateReplicationSlot 972
parseCreateReplSlotOptions 972
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1378
pg_stat_get_wal_senders 1420
IdentifySystem 1482
WalSndGetStateString 1682
GetStandbyFlushRecPtr 1964
WalSndShmemInit 2280
offset_to_interval 2330
InitWalSender 2392
InitWalSenderSlot 2392
WalSndKill 2392
WalSndSignals 2392
WalSndSegmentOpen 4506
WalSndUpdateProgress 5200
ProcessStandbyPSRequestMessage 5898
WalSndShmemSize 8814
WalSndKeepalive 10384
exec_replication_command 10888
WalSndDone 14546
NeedToWaitForStandbys 21656
WalSndWaitForWal 22182
logical_read_xlog_page 22182
WalSndSetState 32072
NeedToWaitForWal 36250
PhysicalWakeupLogicalWalSnd 59302
PhysicalConfirmReceivedLocation 132402
WalSndComputeSleeptime 197186
WalSndWait 197186
ProcessStandbyReplyMessage 244714
ProcessStandbyMessage 250898
LagTrackerWrite 278222
XLogSendPhysical 296316
WalSndPrepareWrite 370150
WalSndWriteData 370150
LagTrackerRead 734142
XLogSendLogical 1229484
WalSndCheckTimeOut 1641154
WalSndKeepaliveIfNecessary 1641154
WalSndHandleConfigReload 1647420
ProcessRepliesIfAny 1647994
WalSndWakeup 5487074

Generated by: LCOV version 1.16