LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1247 1362 91.6 %
Date: 2025-07-13 03:17:18 Functions: 59 59 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
WalSndShutdown 10
AlterReplicationSlot 12
ReadReplicationSlot 12
UploadManifest 22
SendTimeLineHistory 28
WalSndRqstFileReload 56
WalSndLastCycleHandler 70
HandleWalSndInitStopping 72
HandleUploadManifestPacket 86
WalSndErrorCleanup 94
PhysicalReplicationSlotNewXmin 124
TransactionIdInRecentPast 134
ProcessStandbyHSFeedbackMessage 272
StartReplication 520
DropReplicationSlot 530
ProcessPendingWrites 636
StartLogicalReplication 770
CreateReplicationSlot 926
parseCreateReplSlotOptions 926
WalSndInitStopping 1238
WalSndWaitStopping 1238
WalSndLoop 1270
IdentifySystem 1362
pg_stat_get_wal_senders 1532
GetStandbyFlushRecPtr 1750
WalSndGetStateString 1802
WalSndShmemInit 2134
InitWalSender 2206
InitWalSenderSlot 2206
WalSndKill 2206
WalSndSignals 2206
offset_to_interval 2566
WalSndUpdateProgress 4764
WalSndSegmentOpen 5062
WalSndKeepalive 7818
WalSndShmemSize 8230
WalSndDone 10110
exec_replication_command 10172
WalSndSetState 22290
NeedToWaitForStandbys 23714
WalSndWaitForWal 24228
logical_read_xlog_page 24228
NeedToWaitForWal 31964
PhysicalWakeupLogicalWalSnd 55964
PhysicalConfirmReceivedLocation 118160
WalSndComputeSleeptime 125148
WalSndWait 125148
ProcessStandbyReplyMessage 214168
ProcessStandbyMessage 214440
LagTrackerWrite 228580
XLogSendPhysical 270880
WalSndPrepareWrite 369942
WalSndWriteData 369942
LagTrackerRead 642504
XLogSendLogical 1358520
WalSndCheckTimeOut 1716490
WalSndKeepaliveIfNecessary 1716490
ProcessRepliesIfAny 1723710
WalSndWakeup 5344608

Generated by: LCOV version 1.16