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-07 16:18:03 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 976
DropReplicationSlot 556
GetStandbyFlushRecPtr 1920
HandleUploadManifestPacket 94
HandleWalSndInitStopping 80
IdentifySystem 1502
InitWalSender 2412
InitWalSenderSlot 2412
LagTrackerRead 673482
LagTrackerWrite 243070
NeedToWaitForStandbys 32344
NeedToWaitForWal 50212
PhysicalConfirmReceivedLocation 111732
PhysicalReplicationSlotNewXmin 128
PhysicalWakeupLogicalWalSnd 54014
ProcessPendingWrites 524
ProcessRepliesIfAny 1508888
ProcessStandbyHSFeedbackMessage 286
ProcessStandbyMessage 233988
ProcessStandbyPSRequestMessage 9208
ProcessStandbyReplyMessage 224494
ReadReplicationSlot 12
SendTimeLineHistory 26
StartLogicalReplication 856
StartReplication 562
TransactionIdInRecentPast 140
UploadManifest 24
WalSndCheckTimeOut 1496328
WalSndComputeSleeptime 139776
WalSndDone 17210
WalSndErrorCleanup 98
WalSndGetStateString 1778
WalSndHandleConfigReload 1508364
WalSndInitStopping 1372
WalSndKeepalive 11060
WalSndKeepaliveIfNecessary 1496328
WalSndKill 2412
WalSndLastCycleHandler 76
WalSndLoop 1398
WalSndPrepareWrite 370108
WalSndRqstFileReload 56
WalSndSegmentOpen 10232
WalSndSetState 31674
WalSndShmemInit 2280
WalSndShmemSize 8814
WalSndShutdown 50
WalSndSignals 2412
WalSndUpdateProgress 5084
WalSndWait 139776
WalSndWaitForWal 32842
WalSndWaitStopping 1372
WalSndWakeup 5471866
WalSndWriteData 370108
XLogSendLogical 1159788
XLogSendPhysical 243772
exec_replication_command 10962
logical_read_xlog_page 32842
offset_to_interval 2588
parseCreateReplSlotOptions 976
pg_stat_get_wal_senders 1516

Generated by: LCOV version 1.16