LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1277 1395 91.5 %
Date: 2026-02-09 02:18:11 Functions: 61 61 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ReadReplicationSlot 12
AlterReplicationSlot 14
WalSndShutdown 22
UploadManifest 24
SendTimeLineHistory 26
WalSndRqstFileReload 56
WalSndLastCycleHandler 74
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 136
ProcessStandbyHSFeedbackMessage 290
ProcessPendingWrites 408
DropReplicationSlot 556
StartReplication 566
StartLogicalReplication 832
CreateReplicationSlot 974
parseCreateReplSlotOptions 974
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1378
IdentifySystem 1484
pg_stat_get_wal_senders 1694
GetStandbyFlushRecPtr 1936
WalSndGetStateString 1948
WalSndShmemInit 2280
InitWalSender 2396
InitWalSenderSlot 2398
WalSndKill 2398
WalSndSignals 2398
offset_to_interval 3110
WalSndUpdateProgress 5078
ProcessStandbyPSRequestMessage 7004
WalSndShmemSize 8814
WalSndKeepalive 9156
exec_replication_command 10888
WalSndSegmentOpen 12176
WalSndDone 12542
WalSndSetState 20488
NeedToWaitForStandbys 38502
WalSndWaitForWal 39060
logical_read_xlog_page 39060
PhysicalWakeupLogicalWalSnd 53504
NeedToWaitForWal 54296
PhysicalConfirmReceivedLocation 109118
WalSndComputeSleeptime 129640
WalSndWait 129640
ProcessStandbyReplyMessage 212186
ProcessStandbyMessage 219480
LagTrackerWrite 221020
XLogSendPhysical 221580
WalSndPrepareWrite 370124
WalSndWriteData 370124
LagTrackerRead 636558
XLogSendLogical 1380320
WalSndCheckTimeOut 1703462
WalSndKeepaliveIfNecessary 1703462
WalSndHandleConfigReload 1717626
ProcessRepliesIfAny 1718034
WalSndWakeup 5464016

Generated by: LCOV version 1.16