LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1278 1395 91.6 %
Date: 2026-02-11 02:17:40 Functions: 61 61 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ReadReplicationSlot 12
AlterReplicationSlot 14
UploadManifest 24
SendTimeLineHistory 26
WalSndShutdown 32
WalSndRqstFileReload 56
WalSndLastCycleHandler 76
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 128
TransactionIdInRecentPast 138
ProcessStandbyHSFeedbackMessage 282
DropReplicationSlot 550
StartReplication 560
ProcessPendingWrites 618
StartLogicalReplication 842
CreateReplicationSlot 972
parseCreateReplSlotOptions 972
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1380
IdentifySystem 1490
pg_stat_get_wal_senders 1568
WalSndGetStateString 1844
GetStandbyFlushRecPtr 1886
WalSndShmemInit 2280
InitWalSender 2396
InitWalSenderSlot 2396
WalSndKill 2396
WalSndSignals 2396
offset_to_interval 2780
WalSndSegmentOpen 4674
WalSndUpdateProgress 5054
WalSndDone 6072
WalSndKeepalive 6338
WalSndShmemSize 8814
exec_replication_command 10888
ProcessStandbyPSRequestMessage 11170
WalSndSetState 15040
NeedToWaitForStandbys 26408
WalSndWaitForWal 26952
logical_read_xlog_page 26952
NeedToWaitForWal 46636
PhysicalWakeupLogicalWalSnd 54050
PhysicalConfirmReceivedLocation 112296
WalSndComputeSleeptime 123870
WalSndWait 123870
ProcessStandbyReplyMessage 209128
ProcessStandbyMessage 220580
LagTrackerWrite 229916
XLogSendPhysical 259388
WalSndPrepareWrite 370252
WalSndWriteData 370252
LagTrackerRead 627384
XLogSendLogical 1673848
WalSndCheckTimeOut 2020106
WalSndKeepaliveIfNecessary 2020106
WalSndHandleConfigReload 2026684
ProcessRepliesIfAny 2027302
WalSndWakeup 5473258

Generated by: LCOV version 1.16