LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1282 1395 91.9 %
Date: 2026-02-10 02:17:22 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
WalSndRqstFileReload 56
WalSndShutdown 58
WalSndLastCycleHandler 76
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 100
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 142
ProcessStandbyHSFeedbackMessage 290
ProcessPendingWrites 540
DropReplicationSlot 556
StartReplication 566
StartLogicalReplication 852
CreateReplicationSlot 974
parseCreateReplSlotOptions 974
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1398
pg_stat_get_wal_senders 1470
IdentifySystem 1502
WalSndGetStateString 1742
GetStandbyFlushRecPtr 1950
WalSndShmemInit 2280
InitWalSender 2412
InitWalSenderSlot 2412
WalSndKill 2412
WalSndSignals 2412
offset_to_interval 2600
WalSndUpdateProgress 5138
WalSndShmemSize 8814
exec_replication_command 10936
WalSndKeepalive 13560
WalSndSegmentOpen 15372
WalSndDone 23318
ProcessStandbyPSRequestMessage 25816
WalSndSetState 38754
NeedToWaitForStandbys 42414
WalSndWaitForWal 42916
logical_read_xlog_page 42916
PhysicalWakeupLogicalWalSnd 58580
NeedToWaitForWal 76742
PhysicalConfirmReceivedLocation 123140
WalSndComputeSleeptime 166406
WalSndWait 166406
ProcessStandbyReplyMessage 245668
LagTrackerWrite 250412
ProcessStandbyMessage 271774
XLogSendPhysical 287714
WalSndPrepareWrite 370192
WalSndWriteData 370192
LagTrackerRead 737004
XLogSendLogical 1163158
WalSndCheckTimeOut 1563388
WalSndKeepaliveIfNecessary 1563388
WalSndHandleConfigReload 1580464
ProcessRepliesIfAny 1581004
WalSndWakeup 5470376

Generated by: LCOV version 1.16