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-13 19:18:24 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 24
SendTimeLineHistory 26
WalSndShutdown 32
WalSndRqstFileReload 56
WalSndLastCycleHandler 78
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 140
ProcessStandbyHSFeedbackMessage 284
ProcessPendingWrites 468
DropReplicationSlot 556
StartReplication 560
StartLogicalReplication 836
CreateReplicationSlot 974
parseCreateReplSlotOptions 974
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1376
IdentifySystem 1484
pg_stat_get_wal_senders 1878
GetStandbyFlushRecPtr 1948
WalSndGetStateString 2150
WalSndShmemInit 2280
InitWalSender 2394
InitWalSenderSlot 2394
WalSndKill 2394
WalSndSignals 2394
ProcessStandbyPSRequestMessage 2860
offset_to_interval 3816
WalSndUpdateProgress 5034
WalSndSegmentOpen 6292
WalSndShmemSize 8814
WalSndKeepalive 9896
exec_replication_command 10898
WalSndDone 14566
NeedToWaitForStandbys 29488
WalSndWaitForWal 30026
logical_read_xlog_page 30026
WalSndSetState 30374
NeedToWaitForWal 40956
PhysicalWakeupLogicalWalSnd 54244
PhysicalConfirmReceivedLocation 113528
WalSndComputeSleeptime 131662
WalSndWait 131662
ProcessStandbyReplyMessage 209902
ProcessStandbyMessage 213046
LagTrackerWrite 235496
XLogSendPhysical 255110
WalSndPrepareWrite 370348
WalSndWriteData 370348
LagTrackerRead 629706
XLogSendLogical 1675862
WalSndCheckTimeOut 2026428
WalSndKeepaliveIfNecessary 2026428
WalSndHandleConfigReload 2034538
ProcessRepliesIfAny 2035006
WalSndWakeup 5472902

Generated by: LCOV version 1.16