LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1264 1395 90.6 %
Date: 2025-12-02 13:18:37 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
SendTimeLineHistory 22
UploadManifest 22
WalSndRqstFileReload 56
WalSndShutdown 68
WalSndLastCycleHandler 72
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 136
ProcessStandbyHSFeedbackMessage 264
StartReplication 526
DropReplicationSlot 546
ProcessPendingWrites 684
StartLogicalReplication 844
CreateReplicationSlot 948
parseCreateReplSlotOptions 948
WalSndInitStopping 1318
WalSndWaitStopping 1318
WalSndLoop 1350
IdentifySystem 1442
GetStandbyFlushRecPtr 1614
pg_stat_get_wal_senders 1668
WalSndGetStateString 1962
WalSndShmemInit 2204
InitWalSender 2342
InitWalSenderSlot 2342
WalSndKill 2342
WalSndSignals 2342
offset_to_interval 3158
WalSndUpdateProgress 5022
WalSndKeepalive 5602
WalSndDone 6996
WalSndSegmentOpen 8046
WalSndShmemSize 8516
exec_replication_command 10676
WalSndSetState 13110
ProcessStandbyPSRequestMessage 15324
NeedToWaitForStandbys 27220
WalSndWaitForWal 27654
logical_read_xlog_page 27654
PhysicalWakeupLogicalWalSnd 48592
NeedToWaitForWal 51114
PhysicalConfirmReceivedLocation 97894
WalSndComputeSleeptime 125662
WalSndWait 125662
LagTrackerWrite 207182
ProcessStandbyReplyMessage 209008
XLogSendPhysical 222266
ProcessStandbyMessage 224596
WalSndPrepareWrite 370252
WalSndWriteData 370252
LagTrackerRead 627024
XLogSendLogical 1085444
WalSndCheckTimeOut 1417646
WalSndKeepaliveIfNecessary 1417646
ProcessRepliesIfAny 1428038
WalSndWakeup 5379976

Generated by: LCOV version 1.16