LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 91.9 % 1400 1287
Test Date: 2026-03-24 07:17:40 Functions: 100.0 % 61 61
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
ReadReplicationSlot 6
AlterReplicationSlot 7
WalSndShutdown 9
UploadManifest 12
SendTimeLineHistory 14
WalSndRqstFileReload 28
WalSndLastCycleHandler 39
HandleWalSndInitStopping 43
HandleUploadManifestPacket 48
WalSndErrorCleanup 50
PhysicalReplicationSlotNewXmin 68
TransactionIdInRecentPast 72
ProcessStandbyHSFeedbackMessage 150
StartReplication 290
DropReplicationSlot 295
StartLogicalReplication 462
ProcessPendingWrites 493
CreateReplicationSlot 509
parseCreateReplSlotOptions 509
pg_stat_get_wal_senders 645
WalSndInitStopping 721
WalSndWaitStopping 721
WalSndLoop 741
IdentifySystem 785
WalSndGetStateString 793
GetStandbyFlushRecPtr 983
offset_to_interval 1076
WalSndShmemInit 1180
InitWalSender 1263
InitWalSenderSlot 1263
WalSndKill 1263
WalSndSignals 1264
ProcessStandbyPSRequestMessage 1578
WalSndUpdateProgress 2819
WalSndKeepalive 2913
WalSndShmemSize 4567
WalSndDone 4914
WalSndSetState 5245
exec_replication_command 5765
WalSndSegmentOpen 9239
NeedToWaitForStandbys 24440
WalSndWaitForWal 24803
logical_read_xlog_page 24803
NeedToWaitForWal 30893
PhysicalWakeupLogicalWalSnd 40500
PhysicalConfirmReceivedLocation 91992
WalSndComputeSleeptime 95206
WalSndWait 95206
ProcessStandbyReplyMessage 112891
ProcessStandbyMessage 114619
LagTrackerWrite 138610
XLogSendPhysical 175938
WalSndPrepareWrite 190441
WalSndWriteData 190441
LagTrackerRead 338673
XLogSendLogical 616553
WalSndCheckTimeOut 835924
WalSndKeepaliveIfNecessary 835924
WalSndHandleConfigReload 845370
ProcessRepliesIfAny 845863
WalSndWakeup 2786415

Generated by: LCOV version 2.0-1