LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1275 1396 91.3 %
Date: 2026-01-20 22:16:43 Functions: 60 60 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 54
WalSndRqstFileReload 58
HandleWalSndInitStopping 80
WalSndLastCycleHandler 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 136
TransactionIdInRecentPast 146
ProcessStandbyHSFeedbackMessage 294
ProcessPendingWrites 458
DropReplicationSlot 556
StartReplication 564
StartLogicalReplication 850
CreateReplicationSlot 970
parseCreateReplSlotOptions 970
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1394
IdentifySystem 1496
pg_stat_get_wal_senders 1592
WalSndGetStateString 1882
GetStandbyFlushRecPtr 1922
WalSndShmemInit 2278
InitWalSender 2406
InitWalSenderSlot 2406
WalSndKill 2406
WalSndSignals 2406
offset_to_interval 2770
WalSndUpdateProgress 5044
WalSndKeepalive 7168
WalSndDone 8252
WalSndShmemSize 8806
ProcessStandbyPSRequestMessage 9902
WalSndSegmentOpen 10678
exec_replication_command 10912
WalSndSetState 13348
NeedToWaitForStandbys 33056
WalSndWaitForWal 33558
logical_read_xlog_page 33558
NeedToWaitForWal 51598
PhysicalWakeupLogicalWalSnd 64338
PhysicalConfirmReceivedLocation 136442
WalSndComputeSleeptime 159580
WalSndWait 159580
LagTrackerWrite 233400
XLogSendPhysical 241078
ProcessStandbyReplyMessage 241220
ProcessStandbyMessage 251416
WalSndPrepareWrite 370162
WalSndWriteData 370162
LagTrackerRead 723660
XLogSendLogical 1156076
WalSndCheckTimeOut 1511480
WalSndKeepaliveIfNecessary 1511480
ProcessRepliesIfAny 1524452
WalSndWakeup 5484792

Generated by: LCOV version 1.16