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

Function Name Sort by function name Hit count Sort by hit count
ReadReplicationSlot 10
AlterReplicationSlot 14
SendTimeLineHistory 24
UploadManifest 24
WalSndShutdown 32
WalSndRqstFileReload 66
WalSndLastCycleHandler 76
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 94
PhysicalReplicationSlotNewXmin 128
TransactionIdInRecentPast 132
ProcessStandbyHSFeedbackMessage 284
ProcessPendingWrites 534
DropReplicationSlot 554
StartReplication 556
StartLogicalReplication 842
CreateReplicationSlot 972
parseCreateReplSlotOptions 972
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1378
IdentifySystem 1480
pg_stat_get_wal_senders 1502
WalSndGetStateString 1760
GetStandbyFlushRecPtr 1938
WalSndShmemInit 2280
InitWalSender 2394
InitWalSenderSlot 2394
WalSndKill 2394
WalSndSignals 2394
offset_to_interval 2716
WalSndUpdateProgress 5290
WalSndSegmentOpen 5454
WalSndShmemSize 8814
ProcessStandbyPSRequestMessage 8938
WalSndKeepalive 9974
exec_replication_command 10866
WalSndDone 14364
NeedToWaitForStandbys 22970
WalSndWaitForWal 23508
logical_read_xlog_page 23508
WalSndSetState 30766
NeedToWaitForWal 40576
PhysicalWakeupLogicalWalSnd 60858
PhysicalConfirmReceivedLocation 127334
WalSndComputeSleeptime 151022
WalSndWait 151022
ProcessStandbyReplyMessage 235406
LagTrackerWrite 242930
ProcessStandbyMessage 244628
XLogSendPhysical 247192
WalSndPrepareWrite 376400
WalSndWriteData 376400
LagTrackerRead 706218
XLogSendLogical 1172778
WalSndCheckTimeOut 1528292
WalSndKeepaliveIfNecessary 1528292
WalSndHandleConfigReload 1535486
ProcessRepliesIfAny 1536020
WalSndWakeup 5492822

Generated by: LCOV version 1.16