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-12 23:17:49 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 966
DropReplicationSlot 556
GetStandbyFlushRecPtr 1950
HandleUploadManifestPacket 86
HandleWalSndInitStopping 82
IdentifySystem 1472
InitWalSender 2376
InitWalSenderSlot 2376
LagTrackerRead 722754
LagTrackerWrite 235640
NeedToWaitForStandbys 25614
NeedToWaitForWal 42766
PhysicalConfirmReceivedLocation 125628
PhysicalReplicationSlotNewXmin 130
PhysicalWakeupLogicalWalSnd 60632
ProcessPendingWrites 566
ProcessRepliesIfAny 2043398
ProcessStandbyHSFeedbackMessage 290
ProcessStandbyMessage 249754
ProcessStandbyPSRequestMessage 8546
ProcessStandbyReplyMessage 240918
ReadReplicationSlot 12
SendTimeLineHistory 26
StartLogicalReplication 832
StartReplication 558
TransactionIdInRecentPast 142
UploadManifest 22
WalSndCheckTimeOut 2036754
WalSndComputeSleeptime 145188
WalSndDone 9186
WalSndErrorCleanup 98
WalSndGetStateString 1770
WalSndInitStopping 1364
WalSndKeepalive 7624
WalSndKeepaliveIfNecessary 2036754
WalSndKill 2376
WalSndLastCycleHandler 82
WalSndLoop 1370
WalSndPrepareWrite 370172
WalSndRqstFileReload 56
WalSndSegmentOpen 4402
WalSndSetState 21482
WalSndShmemInit 2272
WalSndShmemSize 8782
WalSndShutdown 30
WalSndSignals 2376
WalSndUpdateProgress 5072
WalSndWait 145188
WalSndWaitForWal 26158
WalSndWaitStopping 1364
WalSndWakeup 5471054
WalSndWriteData 370172
XLogSendLogical 1673896
XLogSendPhysical 258494
exec_replication_command 10824
logical_read_xlog_page 26158
offset_to_interval 2582
parseCreateReplSlotOptions 966
pg_stat_get_wal_senders 1530

Generated by: LCOV version 1.16