LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 91.9 % 1395 1282
Test Date: 2026-03-04 04:14:49 Functions: 100.0 % 61 61
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
AlterReplicationSlot 7
CreateReplicationSlot 493
DropReplicationSlot 282
GetStandbyFlushRecPtr 986
HandleUploadManifestPacket 47
HandleWalSndInitStopping 40
IdentifySystem 769
InitWalSender 1228
InitWalSenderSlot 1228
LagTrackerRead 284391
LagTrackerWrite 123401
NeedToWaitForStandbys 18046
NeedToWaitForWal 32363
PhysicalConfirmReceivedLocation 72911
PhysicalReplicationSlotNewXmin 64
PhysicalWakeupLogicalWalSnd 32408
ProcessPendingWrites 459
ProcessRepliesIfAny 1060096
ProcessStandbyHSFeedbackMessage 145
ProcessStandbyMessage 104528
ProcessStandbyPSRequestMessage 9586
ProcessStandbyReplyMessage 94797
ReadReplicationSlot 6
SendTimeLineHistory 13
StartLogicalReplication 439
StartReplication 286
TransactionIdInRecentPast 65
UploadManifest 12
WalSndCheckTimeOut 1054273
WalSndComputeSleeptime 90536
WalSndDone 1864
WalSndErrorCleanup 49
WalSndGetStateString 859
WalSndHandleConfigReload 1059637
WalSndInitStopping 696
WalSndKeepalive 2052
WalSndKeepaliveIfNecessary 1054273
WalSndKill 1228
WalSndLastCycleHandler 34
WalSndLoop 715
WalSndPrepareWrite 185314
WalSndRqstFileReload 27
WalSndSegmentOpen 4596
WalSndSetState 3116
WalSndShmemInit 1151
WalSndShmemSize 4451
WalSndShutdown 4
WalSndSignals 1228
WalSndUpdateProgress 2760
WalSndWait 90536
WalSndWaitForWal 18401
WalSndWaitStopping 696
WalSndWakeup 2744577
WalSndWriteData 185314
XLogSendLogical 842443
XLogSendPhysical 156153
exec_replication_command 5576
logical_read_xlog_page 18401
offset_to_interval 1359
parseCreateReplSlotOptions 493
pg_stat_get_wal_senders 717

Generated by: LCOV version 2.0-1