LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1276 1387 92.0 %
Date: 2025-09-04 04: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
UploadManifest 22
WalSndShutdown 24
SendTimeLineHistory 28
WalSndRqstFileReload 56
HandleWalSndInitStopping 72
WalSndLastCycleHandler 72
HandleUploadManifestPacket 86
WalSndErrorCleanup 94
PhysicalReplicationSlotNewXmin 128
TransactionIdInRecentPast 136
ProcessStandbyHSFeedbackMessage 278
StartReplication 524
ProcessPendingWrites 534
DropReplicationSlot 538
StartLogicalReplication 804
CreateReplicationSlot 938
parseCreateReplSlotOptions 938
WalSndInitStopping 1272
WalSndWaitStopping 1272
WalSndLoop 1308
ProcessStandbyPSRequestMessage 1362
IdentifySystem 1396
pg_stat_get_wal_senders 1512
GetStandbyFlushRecPtr 1716
WalSndGetStateString 1794
WalSndShmemInit 2152
InitWalSender 2272
InitWalSenderSlot 2272
WalSndKill 2272
WalSndSignals 2272
offset_to_interval 2562
WalSndUpdateProgress 4892
WalSndKeepalive 8174
WalSndShmemSize 8308
WalSndDone 8812
exec_replication_command 10420
WalSndSegmentOpen 10606
WalSndSetState 14290
NeedToWaitForStandbys 37968
WalSndWaitForWal 38506
logical_read_xlog_page 38506
PhysicalWakeupLogicalWalSnd 40638
NeedToWaitForWal 47876
PhysicalConfirmReceivedLocation 82752
WalSndComputeSleeptime 94944
WalSndWait 94944
ProcessStandbyReplyMessage 175974
ProcessStandbyMessage 177614
LagTrackerWrite 209564
WalSndPrepareWrite 369950
WalSndWriteData 369950
LagTrackerRead 527922
XLogSendPhysical 1058500
XLogSendLogical 1672624
WalSndCheckTimeOut 2803586
WalSndKeepaliveIfNecessary 2803586
ProcessRepliesIfAny 2816556
WalSndWakeup 5349212

Generated by: LCOV version 1.16