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 18:18:04 Functions: 61 61 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AlterReplicationSlot 14
CreateReplicationSlot 972
DropReplicationSlot 554
GetStandbyFlushRecPtr 1920
HandleUploadManifestPacket 94
HandleWalSndInitStopping 80
IdentifySystem 1498
InitWalSender 2410
InitWalSenderSlot 2410
LagTrackerRead 711114
LagTrackerWrite 257672
NeedToWaitForStandbys 29706
NeedToWaitForWal 51148
PhysicalConfirmReceivedLocation 125144
PhysicalReplicationSlotNewXmin 128
PhysicalWakeupLogicalWalSnd 57510
ProcessPendingWrites 610
ProcessRepliesIfAny 1533848
ProcessStandbyHSFeedbackMessage 288
ProcessStandbyMessage 250138
ProcessStandbyPSRequestMessage 12812
ProcessStandbyReplyMessage 237038
ReadReplicationSlot 12
SendTimeLineHistory 26
StartLogicalReplication 846
StartReplication 566
TransactionIdInRecentPast 134
UploadManifest 24
WalSndCheckTimeOut 1522292
WalSndComputeSleeptime 184138
WalSndDone 13024
WalSndErrorCleanup 96
WalSndGetStateString 1996
WalSndHandleConfigReload 1533238
WalSndInitStopping 1372
WalSndKeepalive 8930
WalSndKeepaliveIfNecessary 1522292
WalSndKill 2410
WalSndLastCycleHandler 78
WalSndLoop 1392
WalSndPrepareWrite 370074
WalSndRqstFileReload 56
WalSndSegmentOpen 9246
WalSndSetState 24226
WalSndShmemInit 2280
WalSndShmemSize 8814
WalSndShutdown 48
WalSndSignals 2410
WalSndUpdateProgress 4962
WalSndWait 184138
WalSndWaitForWal 30178
WalSndWaitStopping 1372
WalSndWakeup 5484934
WalSndWriteData 370074
XLogSendLogical 1112586
XLogSendPhysical 285500
exec_replication_command 10918
logical_read_xlog_page 30178
offset_to_interval 2856
parseCreateReplSlotOptions 972
pg_stat_get_wal_senders 1718

Generated by: LCOV version 1.16