LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1276 1396 91.4 %
Date: 2026-01-16 08:17:16 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 26
WalSndShutdown 28
WalSndRqstFileReload 66
WalSndLastCycleHandler 72
HandleWalSndInitStopping 80
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 132
ProcessStandbyHSFeedbackMessage 290
ProcessPendingWrites 546
DropReplicationSlot 558
StartReplication 562
StartLogicalReplication 838
CreateReplicationSlot 970
parseCreateReplSlotOptions 970
WalSndInitStopping 1366
WalSndWaitStopping 1366
pg_stat_get_wal_senders 1368
WalSndLoop 1380
IdentifySystem 1482
WalSndGetStateString 1632
GetStandbyFlushRecPtr 1984
offset_to_interval 2190
WalSndShmemInit 2272
InitWalSender 2390
InitWalSenderSlot 2390
WalSndKill 2390
WalSndSignals 2390
ProcessStandbyPSRequestMessage 4316
WalSndUpdateProgress 5184
WalSndSegmentOpen 6714
WalSndKeepalive 7998
WalSndShmemSize 8782
WalSndDone 10854
exec_replication_command 10876
WalSndSetState 22488
NeedToWaitForStandbys 25516
WalSndWaitForWal 26050
logical_read_xlog_page 26050
NeedToWaitForWal 38512
PhysicalWakeupLogicalWalSnd 60634
PhysicalConfirmReceivedLocation 135618
WalSndComputeSleeptime 195296
WalSndWait 195296
ProcessStandbyReplyMessage 236162
ProcessStandbyMessage 240768
LagTrackerWrite 270012
XLogSendPhysical 325028
WalSndPrepareWrite 370142
WalSndWriteData 370142
LagTrackerRead 708486
XLogSendLogical 1162318
WalSndCheckTimeOut 1606244
WalSndKeepaliveIfNecessary 1606244
ProcessRepliesIfAny 1615286
WalSndWakeup 5485168

Generated by: LCOV version 1.16