LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1266 1395 90.8 %
Date: 2025-11-09 16:17:56 Functions: 60 60 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AlterReplicationSlot 14
CreateReplicationSlot 946
DropReplicationSlot 548
GetStandbyFlushRecPtr 1634
HandleUploadManifestPacket 86
HandleWalSndInitStopping 74
IdentifySystem 1428
InitWalSender 2328
InitWalSenderSlot 2328
LagTrackerRead 689988
LagTrackerWrite 227610
NeedToWaitForStandbys 20762
NeedToWaitForWal 39516
PhysicalConfirmReceivedLocation 129600
PhysicalReplicationSlotNewXmin 126
PhysicalWakeupLogicalWalSnd 61470
ProcessPendingWrites 524
ProcessRepliesIfAny 1560000
ProcessStandbyHSFeedbackMessage 262
ProcessStandbyMessage 240620
ProcessStandbyPSRequestMessage 10362
ProcessStandbyReplyMessage 229996
ReadReplicationSlot 12
SendTimeLineHistory 22
StartLogicalReplication 834
StartReplication 524
TransactionIdInRecentPast 138
UploadManifest 22
WalSndCheckTimeOut 1553556
WalSndComputeSleeptime 143284
WalSndDone 4886
WalSndErrorCleanup 96
WalSndGetStateString 2152
WalSndInitStopping 1314
WalSndKeepalive 5380
WalSndKeepaliveIfNecessary 1553556
WalSndKill 2328
WalSndLastCycleHandler 72
WalSndLoop 1338
WalSndPrepareWrite 370236
WalSndRqstFileReload 56
WalSndSegmentOpen 4232
WalSndSetState 12778
WalSndShmemInit 2198
WalSndShmemSize 8492
WalSndShutdown 44
WalSndSignals 2328
WalSndUpdateProgress 5044
WalSndWait 143284
WalSndWaitForWal 21244
WalSndWaitStopping 1314
WalSndWakeup 5402756
WalSndWriteData 370236
XLogSendLogical 1217728
XLogSendPhysical 227326
exec_replication_command 10634
logical_read_xlog_page 21244
offset_to_interval 3346
parseCreateReplSlotOptions 946
pg_stat_get_wal_senders 1888

Generated by: LCOV version 1.16