LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1277 1395 91.5 %
Date: 2026-02-07 10:18:48 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
WalSndShutdown 18
UploadManifest 24
SendTimeLineHistory 26
WalSndRqstFileReload 58
WalSndLastCycleHandler 80
HandleWalSndInitStopping 82
HandleUploadManifestPacket 94
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 134
TransactionIdInRecentPast 144
ProcessStandbyHSFeedbackMessage 296
DropReplicationSlot 554
StartReplication 570
ProcessPendingWrites 588
StartLogicalReplication 832
CreateReplicationSlot 974
parseCreateReplSlotOptions 974
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1382
IdentifySystem 1488
pg_stat_get_wal_senders 1522
WalSndGetStateString 1762
GetStandbyFlushRecPtr 1968
WalSndShmemInit 2280
InitWalSender 2400
InitWalSenderSlot 2400
WalSndKill 2400
WalSndSignals 2400
offset_to_interval 2502
ProcessStandbyPSRequestMessage 4950
WalSndUpdateProgress 5236
WalSndSegmentOpen 5290
WalSndShmemSize 8814
exec_replication_command 10900
WalSndKeepalive 12342
WalSndDone 19026
NeedToWaitForStandbys 27540
WalSndWaitForWal 28102
logical_read_xlog_page 28102
WalSndSetState 40348
NeedToWaitForWal 41098
PhysicalWakeupLogicalWalSnd 53684
PhysicalConfirmReceivedLocation 111974
WalSndComputeSleeptime 143376
WalSndWait 143376
ProcessStandbyReplyMessage 212080
ProcessStandbyMessage 217326
LagTrackerWrite 246228
XLogSendPhysical 302008
WalSndPrepareWrite 369950
WalSndWriteData 369950
LagTrackerRead 636240
XLogSendLogical 1679242
WalSndCheckTimeOut 2079654
WalSndKeepaliveIfNecessary 2079654
WalSndHandleConfigReload 2086622
ProcessRepliesIfAny 2087210
WalSndWakeup 5468738

Generated by: LCOV version 1.16