LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1266 1395 90.8 %
Date: 2025-11-16 12:17:48 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
SendTimeLineHistory 22
UploadManifest 22
WalSndShutdown 36
WalSndRqstFileReload 56
WalSndLastCycleHandler 70
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 126
TransactionIdInRecentPast 140
ProcessStandbyHSFeedbackMessage 260
ProcessPendingWrites 488
StartReplication 522
DropReplicationSlot 550
StartLogicalReplication 816
CreateReplicationSlot 948
parseCreateReplSlotOptions 948
WalSndInitStopping 1314
WalSndWaitStopping 1314
WalSndLoop 1318
IdentifySystem 1410
pg_stat_get_wal_senders 1540
GetStandbyFlushRecPtr 1628
WalSndGetStateString 1826
WalSndShmemInit 2200
InitWalSender 2318
InitWalSenderSlot 2318
WalSndKill 2318
WalSndSignals 2318
offset_to_interval 2880
WalSndUpdateProgress 5024
ProcessStandbyPSRequestMessage 7440
WalSndShmemSize 8500
exec_replication_command 10596
WalSndSetState 21758
WalSndKeepalive 23516
WalSndDone 32516
PhysicalWakeupLogicalWalSnd 39174
WalSndSegmentOpen 50542
PhysicalConfirmReceivedLocation 82260
NeedToWaitForStandbys 118034
WalSndWaitForWal 118540
logical_read_xlog_page 118540
WalSndComputeSleeptime 128840
WalSndWait 128840
NeedToWaitForWal 133958
ProcessStandbyReplyMessage 184458
ProcessStandbyMessage 192158
LagTrackerWrite 224088
XLogSendPhysical 225090
WalSndPrepareWrite 369794
WalSndWriteData 369794
LagTrackerRead 553374
XLogSendLogical 1715954
WalSndCheckTimeOut 2018858
WalSndKeepaliveIfNecessary 2018858
ProcessRepliesIfAny 2071730
WalSndWakeup 5373540

Generated by: LCOV version 1.16