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

Function Name Sort by function name Hit count Sort by hit count
WalSndShutdown 8
AlterReplicationSlot 12
ReadReplicationSlot 12
UploadManifest 22
SendTimeLineHistory 28
WalSndLastCycleHandler 54
WalSndRqstFileReload 54
HandleWalSndInitStopping 72
HandleUploadManifestPacket 86
WalSndErrorCleanup 100
PhysicalReplicationSlotNewXmin 126
ProcessPendingWrites 126
TransactionIdInRecentPast 132
ProcessStandbyHSFeedbackMessage 268
StartReplication 512
DropReplicationSlot 530
StartLogicalReplication 764
CreateReplicationSlot 922
parseCreateReplSlotOptions 922
WalSndInitStopping 1212
WalSndWaitStopping 1212
WalSndLoop 1256
pg_stat_get_wal_senders 1276
IdentifySystem 1344
WalSndGetStateString 1566
GetStandbyFlushRecPtr 1850
WalSndShmemInit 2100
offset_to_interval 2174
InitWalSender 2198
InitWalSenderSlot 2198
WalSndKill 2198
WalSndSignals 2198
WalSndUpdateProgress 4772
WalSndKeepalive 7138
WalSndSegmentOpen 7184
WalSndDone 7266
WalSndShmemSize 8106
exec_replication_command 10100
WalSndSetState 14624
PhysicalWakeupLogicalWalSnd 23154
NeedToWaitForStandbys 31010
WalSndWaitForWal 31608
logical_read_xlog_page 31608
NeedToWaitForWal 39724
PhysicalConfirmReceivedLocation 52176
ProcessStandbyReplyMessage 105070
ProcessStandbyMessage 105338
WalSndComputeSleeptime 114010
WalSndWait 114010
LagTrackerWrite 226098
XLogSendPhysical 256110
LagTrackerRead 315210
WalSndPrepareWrite 369852
WalSndWriteData 369852
XLogSendLogical 1665694
WalSndCheckTimeOut 1987882
WalSndKeepaliveIfNecessary 1987882
ProcessRepliesIfAny 1997348
WalSndWakeup 5283486

Generated by: LCOV version 1.14