LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1278 1395 91.6 %
Date: 2026-02-08 23:18:17 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
UploadManifest 22
SendTimeLineHistory 26
WalSndRqstFileReload 56
WalSndShutdown 68
WalSndLastCycleHandler 74
HandleWalSndInitStopping 80
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 128
TransactionIdInRecentPast 132
ProcessStandbyHSFeedbackMessage 284
DropReplicationSlot 554
StartReplication 560
ProcessPendingWrites 598
StartLogicalReplication 862
CreateReplicationSlot 972
parseCreateReplSlotOptions 972
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1402
IdentifySystem 1506
pg_stat_get_wal_senders 1574
WalSndGetStateString 1864
GetStandbyFlushRecPtr 1932
WalSndShmemInit 2280
InitWalSender 2418
InitWalSenderSlot 2418
WalSndKill 2418
WalSndSignals 2418
offset_to_interval 2804
WalSndUpdateProgress 4982
WalSndSegmentOpen 7656
WalSndKeepalive 8262
ProcessStandbyPSRequestMessage 8346
WalSndShmemSize 8814
exec_replication_command 10946
WalSndDone 12152
WalSndSetState 24100
NeedToWaitForStandbys 25680
WalSndWaitForWal 26164
logical_read_xlog_page 26164
NeedToWaitForWal 42646
PhysicalWakeupLogicalWalSnd 56418
PhysicalConfirmReceivedLocation 127614
WalSndComputeSleeptime 196488
WalSndWait 196488
ProcessStandbyReplyMessage 247030
ProcessStandbyMessage 255660
LagTrackerWrite 273296
XLogSendPhysical 274100
WalSndPrepareWrite 370134
WalSndWriteData 370134
LagTrackerRead 741090
XLogSendLogical 1027160
WalSndCheckTimeOut 1420846
WalSndKeepaliveIfNecessary 1420846
WalSndHandleConfigReload 1430176
ProcessRepliesIfAny 1430774
WalSndWakeup 5482938

Generated by: LCOV version 1.16