LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1271 1395 91.1 %
Date: 2025-12-05 13:18:41 Functions: 60 60 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ReadReplicationSlot 12
AlterReplicationSlot 14
SendTimeLineHistory 22
UploadManifest 24
WalSndShutdown 48
WalSndRqstFileReload 58
WalSndLastCycleHandler 72
HandleWalSndInitStopping 74
HandleUploadManifestPacket 94
WalSndErrorCleanup 102
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 138
ProcessStandbyHSFeedbackMessage 266
StartReplication 528
DropReplicationSlot 550
ProcessPendingWrites 622
StartLogicalReplication 834
CreateReplicationSlot 948
parseCreateReplSlotOptions 948
WalSndInitStopping 1316
WalSndWaitStopping 1316
WalSndLoop 1342
IdentifySystem 1436
pg_stat_get_wal_senders 1622
GetStandbyFlushRecPtr 1634
WalSndGetStateString 1900
WalSndShmemInit 2208
InitWalSender 2340
InitWalSenderSlot 2340
WalSndKill 2340
WalSndSignals 2340
offset_to_interval 3032
WalSndUpdateProgress 5138
ProcessStandbyPSRequestMessage 6390
WalSndShmemSize 8532
exec_replication_command 10668
WalSndKeepalive 13774
WalSndSegmentOpen 14028
WalSndDone 20720
WalSndSetState 34668
NeedToWaitForStandbys 39950
WalSndWaitForWal 40434
logical_read_xlog_page 40434
PhysicalWakeupLogicalWalSnd 42562
NeedToWaitForWal 54734
PhysicalConfirmReceivedLocation 88564
WalSndComputeSleeptime 126238
WalSndWait 126238
ProcessStandbyReplyMessage 206960
ProcessStandbyMessage 213616
LagTrackerWrite 230642
XLogSendPhysical 231574
WalSndPrepareWrite 370154
WalSndWriteData 370154
LagTrackerRead 620880
XLogSendLogical 1162882
WalSndCheckTimeOut 1486200
WalSndKeepaliveIfNecessary 1486200
ProcessRepliesIfAny 1502470
WalSndWakeup 5378906

Generated by: LCOV version 1.16