LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1275 1396 91.3 %
Date: 2026-01-22 17:17:06 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
WalSndShutdown 22
UploadManifest 24
SendTimeLineHistory 26
WalSndRqstFileReload 58
WalSndLastCycleHandler 76
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 134
TransactionIdInRecentPast 144
ProcessStandbyHSFeedbackMessage 294
DropReplicationSlot 552
StartReplication 566
ProcessPendingWrites 592
StartLogicalReplication 826
CreateReplicationSlot 970
parseCreateReplSlotOptions 970
WalSndInitStopping 1372
WalSndLoop 1372
WalSndWaitStopping 1372
IdentifySystem 1478
pg_stat_get_wal_senders 1516
WalSndGetStateString 1778
GetStandbyFlushRecPtr 1912
WalSndShmemInit 2278
InitWalSender 2388
InitWalSenderSlot 2388
WalSndKill 2388
WalSndSignals 2390
offset_to_interval 2626
WalSndUpdateProgress 5108
WalSndShmemSize 8806
ProcessStandbyPSRequestMessage 9530
WalSndKeepalive 10100
exec_replication_command 10854
WalSndSegmentOpen 11516
WalSndDone 17480
WalSndSetState 30958
NeedToWaitForStandbys 34530
WalSndWaitForWal 35062
logical_read_xlog_page 35062
NeedToWaitForWal 52776
PhysicalWakeupLogicalWalSnd 61722
PhysicalConfirmReceivedLocation 128512
WalSndComputeSleeptime 152812
WalSndWait 152812
ProcessStandbyReplyMessage 228940
LagTrackerWrite 238754
ProcessStandbyMessage 238764
XLogSendPhysical 306306
WalSndPrepareWrite 370056
WalSndWriteData 370056
LagTrackerRead 686820
XLogSendLogical 1117680
WalSndCheckTimeOut 1533590
WalSndKeepaliveIfNecessary 1533590
ProcessRepliesIfAny 1547430
WalSndWakeup 5481614

Generated by: LCOV version 1.16