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-11 13:17:58 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
SendTimeLineHistory 26
UploadManifest 26
WalSndShutdown 30
WalSndRqstFileReload 56
WalSndLastCycleHandler 76
HandleWalSndInitStopping 80
WalSndErrorCleanup 98
HandleUploadManifestPacket 102
PhysicalReplicationSlotNewXmin 124
TransactionIdInRecentPast 128
ProcessStandbyHSFeedbackMessage 282
DropReplicationSlot 560
StartReplication 562
ProcessPendingWrites 604
StartLogicalReplication 834
CreateReplicationSlot 976
parseCreateReplSlotOptions 976
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1376
IdentifySystem 1486
pg_stat_get_wal_senders 1490
WalSndGetStateString 1770
GetStandbyFlushRecPtr 1938
WalSndShmemInit 2280
InitWalSender 2404
InitWalSenderSlot 2404
WalSndKill 2404
WalSndSignals 2404
offset_to_interval 2506
WalSndUpdateProgress 5030
ProcessStandbyPSRequestMessage 6924
WalSndShmemSize 8814
exec_replication_command 10922
WalSndKeepalive 12704
WalSndDone 20096
WalSndSetState 22598
WalSndSegmentOpen 25158
PhysicalWakeupLogicalWalSnd 56500
NeedToWaitForStandbys 62178
WalSndWaitForWal 62732
logical_read_xlog_page 62732
NeedToWaitForWal 77972
PhysicalConfirmReceivedLocation 113838
WalSndComputeSleeptime 138534
WalSndWait 138534
ProcessStandbyReplyMessage 217950
LagTrackerWrite 222484
ProcessStandbyMessage 225156
XLogSendPhysical 270282
WalSndPrepareWrite 370190
WalSndWriteData 370190
LagTrackerRead 653850
XLogSendLogical 1173186
WalSndCheckTimeOut 1550302
WalSndKeepaliveIfNecessary 1550302
WalSndHandleConfigReload 1577212
ProcessRepliesIfAny 1577816
WalSndWakeup 5475384

Generated by: LCOV version 1.16