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-11-22 01:17:57 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
WalSndLastCycleHandler 68
WalSndRqstFileReload 68
HandleWalSndInitStopping 74
WalSndShutdown 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 120
TransactionIdInRecentPast 128
ProcessStandbyHSFeedbackMessage 256
StartReplication 522
DropReplicationSlot 544
ProcessPendingWrites 628
StartLogicalReplication 856
CreateReplicationSlot 948
parseCreateReplSlotOptions 948
WalSndInitStopping 1314
WalSndWaitStopping 1314
WalSndLoop 1358
IdentifySystem 1450
pg_stat_get_wal_senders 1544
GetStandbyFlushRecPtr 1636
WalSndGetStateString 1828
WalSndShmemInit 2200
InitWalSender 2348
InitWalSenderSlot 2348
WalSndKill 2348
WalSndSignals 2348
offset_to_interval 2466
WalSndUpdateProgress 4970
WalSndSegmentOpen 8296
WalSndShmemSize 8500
exec_replication_command 10698
WalSndKeepalive 10926
ProcessStandbyPSRequestMessage 12858
WalSndDone 18002
NeedToWaitForStandbys 33244
WalSndWaitForWal 33686
logical_read_xlog_page 33686
WalSndSetState 34902
PhysicalWakeupLogicalWalSnd 50296
NeedToWaitForWal 54576
PhysicalConfirmReceivedLocation 111238
WalSndComputeSleeptime 187610
WalSndWait 187610
ProcessStandbyReplyMessage 229804
ProcessStandbyMessage 242918
LagTrackerWrite 265528
XLogSendPhysical 309894
WalSndPrepareWrite 370162
WalSndWriteData 370162
LagTrackerRead 689412
XLogSendLogical 1675518
WalSndCheckTimeOut 2101642
WalSndKeepaliveIfNecessary 2101642
ProcessRepliesIfAny 2112200
WalSndWakeup 5394934

Generated by: LCOV version 1.16