LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1265 1395 90.7 %
Date: 2025-12-18 01:18:31 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 68
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 128
TransactionIdInRecentPast 134
ProcessStandbyHSFeedbackMessage 266
StartReplication 526
ProcessPendingWrites 538
DropReplicationSlot 554
StartLogicalReplication 830
CreateReplicationSlot 952
parseCreateReplSlotOptions 952
WalSndInitStopping 1336
WalSndWaitStopping 1336
WalSndLoop 1338
IdentifySystem 1426
GetStandbyFlushRecPtr 1624
pg_stat_get_wal_senders 1730
WalSndGetStateString 1998
WalSndShmemInit 2236
InitWalSender 2336
InitWalSenderSlot 2338
WalSndKill 2338
WalSndSignals 2338
offset_to_interval 3216
ProcessStandbyPSRequestMessage 4014
WalSndUpdateProgress 5110
WalSndSegmentOpen 7396
WalSndShmemSize 8638
WalSndKeepalive 10036
exec_replication_command 10672
WalSndDone 15398
NeedToWaitForStandbys 26242
WalSndWaitForWal 26768
logical_read_xlog_page 26768
WalSndSetState 30746
NeedToWaitForWal 38870
PhysicalWakeupLogicalWalSnd 56170
PhysicalConfirmReceivedLocation 119584
WalSndComputeSleeptime 141836
WalSndWait 141836
ProcessStandbyReplyMessage 227490
ProcessStandbyMessage 231768
XLogSendPhysical 250996
LagTrackerWrite 251466
WalSndPrepareWrite 370098
WalSndWriteData 370098
LagTrackerRead 682494
XLogSendLogical 1113604
WalSndCheckTimeOut 1452550
WalSndKeepaliveIfNecessary 1452550
ProcessRepliesIfAny 1462228
WalSndWakeup 5482430

Generated by: LCOV version 1.16