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-11 05:17:38 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
UploadManifest 22
SendTimeLineHistory 26
WalSndShutdown 52
WalSndRqstFileReload 58
WalSndLastCycleHandler 76
HandleWalSndInitStopping 82
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 126
TransactionIdInRecentPast 134
ProcessStandbyHSFeedbackMessage 286
DropReplicationSlot 550
StartReplication 556
ProcessPendingWrites 588
StartLogicalReplication 852
CreateReplicationSlot 964
parseCreateReplSlotOptions 964
WalSndInitStopping 1364
WalSndWaitStopping 1364
WalSndLoop 1388
IdentifySystem 1486
pg_stat_get_wal_senders 1500
WalSndGetStateString 1790
GetStandbyFlushRecPtr 1974
WalSndShmemInit 2272
InitWalSender 2388
InitWalSenderSlot 2388
WalSndKill 2388
WalSndSignals 2388
offset_to_interval 2516
WalSndUpdateProgress 5190
WalSndShmemSize 8782
WalSndKeepalive 9326
WalSndSegmentOpen 10394
exec_replication_command 10852
WalSndDone 15566
ProcessStandbyPSRequestMessage 19058
WalSndSetState 28204
NeedToWaitForStandbys 33518
WalSndWaitForWal 34030
logical_read_xlog_page 34030
PhysicalWakeupLogicalWalSnd 56196
NeedToWaitForWal 61442
PhysicalConfirmReceivedLocation 118010
WalSndComputeSleeptime 159044
WalSndWait 159044
ProcessStandbyReplyMessage 234318
LagTrackerWrite 239000
XLogSendPhysical 239732
ProcessStandbyMessage 253662
WalSndPrepareWrite 370236
WalSndWriteData 370236
LagTrackerRead 702954
XLogSendLogical 1246964
WalSndCheckTimeOut 1601728
WalSndKeepaliveIfNecessary 1601728
ProcessRepliesIfAny 1614456
WalSndWakeup 5464254

Generated by: LCOV version 1.16