LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1271 1395 91.1 %
Date: 2025-12-03 01:17:39 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
WalSndShutdown 34
WalSndRqstFileReload 56
HandleWalSndInitStopping 74
WalSndLastCycleHandler 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 140
ProcessStandbyHSFeedbackMessage 266
ProcessPendingWrites 472
StartReplication 528
DropReplicationSlot 548
StartLogicalReplication 832
CreateReplicationSlot 946
parseCreateReplSlotOptions 946
WalSndInitStopping 1318
WalSndWaitStopping 1318
WalSndLoop 1340
IdentifySystem 1432
pg_stat_get_wal_senders 1528
GetStandbyFlushRecPtr 1600
WalSndGetStateString 1798
WalSndShmemInit 2204
InitWalSender 2334
InitWalSenderSlot 2334
WalSndKill 2334
WalSndSignals 2334
offset_to_interval 2730
WalSndUpdateProgress 5092
WalSndShmemSize 8516
exec_replication_command 10644
WalSndKeepalive 12964
ProcessStandbyPSRequestMessage 14940
WalSndDone 15978
WalSndSegmentOpen 16922
WalSndSetState 22358
PhysicalWakeupLogicalWalSnd 45966
NeedToWaitForStandbys 51062
WalSndWaitForWal 51596
logical_read_xlog_page 51596
NeedToWaitForWal 74856
PhysicalConfirmReceivedLocation 97612
WalSndComputeSleeptime 127468
WalSndWait 127468
ProcessStandbyReplyMessage 190438
ProcessStandbyMessage 205644
LagTrackerWrite 231970
XLogSendPhysical 238610
WalSndPrepareWrite 370108
WalSndWriteData 370108
LagTrackerRead 571314
XLogSendLogical 1685160
WalSndCheckTimeOut 2005012
WalSndKeepaliveIfNecessary 2005012
ProcessRepliesIfAny 2024462
WalSndWakeup 5371988

Generated by: LCOV version 1.16