LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1266 1395 90.8 %
Date: 2025-12-04 17:18:24 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 22
WalSndShutdown 26
WalSndRqstFileReload 56
WalSndLastCycleHandler 72
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 132
TransactionIdInRecentPast 144
ProcessStandbyHSFeedbackMessage 266
StartReplication 526
DropReplicationSlot 550
ProcessPendingWrites 600
StartLogicalReplication 822
CreateReplicationSlot 948
parseCreateReplSlotOptions 948
WalSndInitStopping 1316
WalSndWaitStopping 1316
WalSndLoop 1328
IdentifySystem 1420
pg_stat_get_wal_senders 1514
GetStandbyFlushRecPtr 1634
WalSndGetStateString 1790
WalSndShmemInit 2208
InitWalSender 2326
InitWalSenderSlot 2326
WalSndKill 2326
WalSndSignals 2326
offset_to_interval 2590
WalSndUpdateProgress 5088
WalSndKeepalive 8194
WalSndShmemSize 8532
ProcessStandbyPSRequestMessage 8786
WalSndSegmentOpen 8816
exec_replication_command 10622
WalSndDone 12516
WalSndSetState 23472
NeedToWaitForStandbys 34546
WalSndWaitForWal 35056
logical_read_xlog_page 35056
PhysicalWakeupLogicalWalSnd 46260
NeedToWaitForWal 51696
PhysicalConfirmReceivedLocation 93674
WalSndComputeSleeptime 120068
WalSndWait 120068
ProcessStandbyReplyMessage 213736
XLogSendPhysical 219024
LagTrackerWrite 219244
ProcessStandbyMessage 222788
WalSndPrepareWrite 369928
WalSndWriteData 369928
LagTrackerRead 641208
XLogSendLogical 1673008
WalSndCheckTimeOut 1985640
WalSndKeepaliveIfNecessary 1985640
ProcessRepliesIfAny 1996716
WalSndWakeup 5382980

Generated by: LCOV version 1.16