LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1247 1362 91.6 %
Date: 2025-07-17 02:18:35 Functions: 59 59 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AlterReplicationSlot 12
CreateReplicationSlot 924
DropReplicationSlot 526
GetStandbyFlushRecPtr 1760
HandleUploadManifestPacket 86
HandleWalSndInitStopping 72
IdentifySystem 1376
InitWalSender 2218
InitWalSenderSlot 2218
LagTrackerRead 690906
LagTrackerWrite 253252
NeedToWaitForStandbys 27350
NeedToWaitForWal 35580
PhysicalConfirmReceivedLocation 110956
PhysicalReplicationSlotNewXmin 124
PhysicalWakeupLogicalWalSnd 52446
ProcessPendingWrites 658
ProcessRepliesIfAny 1666126
ProcessStandbyHSFeedbackMessage 270
ProcessStandbyMessage 230572
ProcessStandbyReplyMessage 230302
ReadReplicationSlot 12
SendTimeLineHistory 28
StartLogicalReplication 788
StartReplication 516
TransactionIdInRecentPast 134
UploadManifest 22
WalSndCheckTimeOut 1656550
WalSndComputeSleeptime 132416
WalSndDone 23966
WalSndErrorCleanup 98
WalSndGetStateString 1988
WalSndInitStopping 1238
WalSndKeepalive 14052
WalSndKeepaliveIfNecessary 1656550
WalSndKill 2218
WalSndLastCycleHandler 72
WalSndLoop 1282
WalSndPrepareWrite 369868
WalSndRqstFileReload 58
WalSndSegmentOpen 7442
WalSndSetState 47530
WalSndShmemInit 2134
WalSndShmemSize 8230
WalSndShutdown 36
WalSndSignals 2218
WalSndUpdateProgress 4792
WalSndWait 132416
WalSndWaitForWal 27804
WalSndWaitStopping 1238
WalSndWakeup 5351292
WalSndWriteData 369868
XLogSendLogical 1244880
XLogSendPhysical 331698
exec_replication_command 10198
logical_read_xlog_page 27804
offset_to_interval 3216
parseCreateReplSlotOptions 924
pg_stat_get_wal_senders 1692

Generated by: LCOV version 1.16