LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1275 1396 91.3 %
Date: 2026-01-21 17:17:09 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 24
SendTimeLineHistory 26
WalSndShutdown 56
WalSndRqstFileReload 58
WalSndLastCycleHandler 72
HandleWalSndInitStopping 82
HandleUploadManifestPacket 94
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 138
ProcessStandbyHSFeedbackMessage 288
DropReplicationSlot 556
StartReplication 560
ProcessPendingWrites 600
StartLogicalReplication 858
CreateReplicationSlot 968
parseCreateReplSlotOptions 968
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1398
IdentifySystem 1500
pg_stat_get_wal_senders 1622
WalSndGetStateString 1892
GetStandbyFlushRecPtr 1930
WalSndShmemInit 2278
InitWalSender 2410
InitWalSenderSlot 2410
WalSndKill 2410
WalSndSignals 2410
offset_to_interval 2582
WalSndUpdateProgress 5040
WalSndShmemSize 8806
WalSndKeepalive 9904
exec_replication_command 10924
WalSndDone 16078
ProcessStandbyPSRequestMessage 16844
WalSndSegmentOpen 17046
WalSndSetState 22630
NeedToWaitForStandbys 50704
WalSndWaitForWal 51212
logical_read_xlog_page 51212
PhysicalWakeupLogicalWalSnd 62392
NeedToWaitForWal 76270
PhysicalConfirmReceivedLocation 130102
WalSndComputeSleeptime 156538
WalSndWait 156538
LagTrackerWrite 226590
ProcessStandbyReplyMessage 244852
XLogSendPhysical 259510
ProcessStandbyMessage 261984
WalSndPrepareWrite 370272
WalSndWriteData 370272
LagTrackerRead 734556
XLogSendLogical 1675598
WalSndCheckTimeOut 2054542
WalSndKeepaliveIfNecessary 2054542
ProcessRepliesIfAny 2073934
WalSndWakeup 5475666

Generated by: LCOV version 1.16