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-09 13:18:20 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 54
WalSndRqstFileReload 56
HandleWalSndInitStopping 74
WalSndLastCycleHandler 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 126
TransactionIdInRecentPast 140
ProcessStandbyHSFeedbackMessage 264
StartReplication 526
DropReplicationSlot 546
ProcessPendingWrites 682
StartLogicalReplication 834
CreateReplicationSlot 946
parseCreateReplSlotOptions 946
WalSndInitStopping 1314
WalSndWaitStopping 1314
WalSndLoop 1340
IdentifySystem 1430
GetStandbyFlushRecPtr 1628
pg_stat_get_wal_senders 1778
WalSndGetStateString 2068
WalSndShmemInit 2198
InitWalSender 2334
InitWalSenderSlot 2334
WalSndKill 2334
WalSndSignals 2334
offset_to_interval 3474
WalSndUpdateProgress 4970
WalSndSegmentOpen 5038
WalSndKeepalive 7814
WalSndShmemSize 8492
WalSndDone 9996
exec_replication_command 10636
ProcessStandbyPSRequestMessage 12246
NeedToWaitForStandbys 20466
WalSndWaitForWal 20920
logical_read_xlog_page 20920
WalSndSetState 22138
NeedToWaitForWal 41318
PhysicalWakeupLogicalWalSnd 48180
PhysicalConfirmReceivedLocation 97730
WalSndComputeSleeptime 125622
WalSndWait 125622
ProcessStandbyReplyMessage 215172
LagTrackerWrite 220418
XLogSendPhysical 220648
ProcessStandbyMessage 227682
WalSndPrepareWrite 369968
WalSndWriteData 369968
LagTrackerRead 645516
XLogSendLogical 1012044
WalSndCheckTimeOut 1334994
WalSndKeepaliveIfNecessary 1334994
ProcessRepliesIfAny 1342374
WalSndWakeup 5375762

Generated by: LCOV version 1.16