LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1266 1395 90.8 %
Date: 2025-11-27 22:18:57 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
WalSndShutdown 46
WalSndRqstFileReload 56
WalSndLastCycleHandler 68
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 140
ProcessStandbyHSFeedbackMessage 264
StartReplication 526
DropReplicationSlot 552
ProcessPendingWrites 656
StartLogicalReplication 830
CreateReplicationSlot 950
parseCreateReplSlotOptions 950
WalSndInitStopping 1318
WalSndWaitStopping 1318
WalSndLoop 1336
IdentifySystem 1428
GetStandbyFlushRecPtr 1628
pg_stat_get_wal_senders 1740
WalSndGetStateString 2046
WalSndShmemInit 2204
InitWalSender 2330
InitWalSenderSlot 2330
WalSndKill 2330
WalSndSignals 2330
offset_to_interval 3422
WalSndUpdateProgress 5002
WalSndSegmentOpen 7084
WalSndKeepalive 7800
WalSndShmemSize 8516
exec_replication_command 10656
WalSndDone 10804
WalSndSetState 21696
NeedToWaitForStandbys 24890
WalSndWaitForWal 25340
logical_read_xlog_page 25340
ProcessStandbyPSRequestMessage 28606
PhysicalWakeupLogicalWalSnd 46272
NeedToWaitForWal 62222
PhysicalConfirmReceivedLocation 99118
WalSndComputeSleeptime 148852
WalSndWait 148852
ProcessStandbyReplyMessage 210240
LagTrackerWrite 238676
ProcessStandbyMessage 239110
XLogSendPhysical 243078
WalSndPrepareWrite 369926
WalSndWriteData 369926
LagTrackerRead 630720
XLogSendLogical 1025930
WalSndCheckTimeOut 1374056
WalSndKeepaliveIfNecessary 1374056
ProcessRepliesIfAny 1383528
WalSndWakeup 5391298

Generated by: LCOV version 1.16