LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1278 1395 91.6 %
Date: 2026-02-07 15:18:00 Functions: 61 61 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ReadReplicationSlot 12
AlterReplicationSlot 14
UploadManifest 24
SendTimeLineHistory 26
WalSndShutdown 44
WalSndRqstFileReload 64
WalSndLastCycleHandler 76
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 132
TransactionIdInRecentPast 144
ProcessStandbyHSFeedbackMessage 290
DropReplicationSlot 552
StartReplication 562
ProcessPendingWrites 586
StartLogicalReplication 842
CreateReplicationSlot 972
parseCreateReplSlotOptions 972
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1384
IdentifySystem 1490
pg_stat_get_wal_senders 1490
WalSndGetStateString 1770
GetStandbyFlushRecPtr 1952
WalSndShmemInit 2280
InitWalSender 2404
InitWalSenderSlot 2404
WalSndKill 2404
WalSndSignals 2404
offset_to_interval 2494
WalSndUpdateProgress 5052
WalSndShmemSize 8814
ProcessStandbyPSRequestMessage 9870
exec_replication_command 10880
WalSndKeepalive 11534
WalSndSegmentOpen 13534
WalSndDone 14166
WalSndSetState 22234
NeedToWaitForStandbys 37642
WalSndWaitForWal 38134
logical_read_xlog_page 38134
NeedToWaitForWal 56116
PhysicalWakeupLogicalWalSnd 57832
PhysicalConfirmReceivedLocation 119318
WalSndComputeSleeptime 143508
WalSndWait 143508
LagTrackerWrite 223536
ProcessStandbyReplyMessage 229032
ProcessStandbyMessage 239192
XLogSendPhysical 253636
WalSndPrepareWrite 370212
WalSndWriteData 370212
LagTrackerRead 687096
XLogSendLogical 1035104
WalSndCheckTimeOut 1403592
WalSndKeepaliveIfNecessary 1403592
WalSndHandleConfigReload 1418812
ProcessRepliesIfAny 1419398
WalSndWakeup 5485066

Generated by: LCOV version 1.16