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-04 20:18:26 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 974
DropReplicationSlot 556
GetStandbyFlushRecPtr 1940
HandleUploadManifestPacket 94
HandleWalSndInitStopping 78
IdentifySystem 1484
InitWalSender 2396
InitWalSenderSlot 2396
LagTrackerRead 631032
LagTrackerWrite 228046
NeedToWaitForStandbys 35478
NeedToWaitForWal 57894
PhysicalConfirmReceivedLocation 112234
PhysicalReplicationSlotNewXmin 130
PhysicalWakeupLogicalWalSnd 54908
ProcessPendingWrites 502
ProcessRepliesIfAny 1747720
ProcessStandbyHSFeedbackMessage 288
ProcessStandbyMessage 224466
ProcessStandbyPSRequestMessage 13834
ProcessStandbyReplyMessage 210344
ReadReplicationSlot 12
SendTimeLineHistory 26
StartLogicalReplication 834
StartReplication 564
TransactionIdInRecentPast 142
UploadManifest 24
WalSndCheckTimeOut 1734616
WalSndComputeSleeptime 136810
WalSndDone 12964
WalSndErrorCleanup 100
WalSndGetStateString 2042
WalSndHandleConfigReload 1747218
WalSndInitStopping 1372
WalSndKeepalive 7978
WalSndKeepaliveIfNecessary 1734616
WalSndKill 2396
WalSndLastCycleHandler 70
WalSndLoop 1378
WalSndPrepareWrite 370256
WalSndRqstFileReload 56
WalSndSegmentOpen 10834
WalSndSetState 22632
WalSndShmemInit 2280
WalSndShmemSize 8814
WalSndShutdown 28
WalSndSignals 2396
WalSndUpdateProgress 5030
WalSndWait 136810
WalSndWaitForWal 36008
WalSndWaitStopping 1372
WalSndWakeup 5470780
WalSndWriteData 370256
XLogSendLogical 1373154
XLogSendPhysical 256026
exec_replication_command 10892
logical_read_xlog_page 36008
offset_to_interval 3358
parseCreateReplSlotOptions 974
pg_stat_get_wal_senders 1784

Generated by: LCOV version 1.16