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-26 05:17:43 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
WalSndShutdown 16
SendTimeLineHistory 22
UploadManifest 24
WalSndRqstFileReload 56
WalSndLastCycleHandler 64
HandleWalSndInitStopping 76
HandleUploadManifestPacket 94
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 128
TransactionIdInRecentPast 138
ProcessStandbyHSFeedbackMessage 264
ProcessPendingWrites 522
StartReplication 526
DropReplicationSlot 544
StartLogicalReplication 820
CreateReplicationSlot 948
parseCreateReplSlotOptions 948
WalSndInitStopping 1316
WalSndWaitStopping 1316
WalSndLoop 1326
IdentifySystem 1420
pg_stat_get_wal_senders 1512
GetStandbyFlushRecPtr 1648
WalSndGetStateString 1780
WalSndShmemInit 2202
InitWalSender 2318
InitWalSenderSlot 2318
WalSndKill 2318
WalSndSignals 2318
offset_to_interval 2598
WalSndUpdateProgress 5136
WalSndSegmentOpen 6406
WalSndShmemSize 8508
ProcessStandbyPSRequestMessage 9514
exec_replication_command 10618
WalSndKeepalive 12704
WalSndDone 19920
NeedToWaitForStandbys 30098
WalSndWaitForWal 30622
logical_read_xlog_page 30622
WalSndSetState 40722
PhysicalWakeupLogicalWalSnd 48032
NeedToWaitForWal 48338
PhysicalConfirmReceivedLocation 103068
WalSndComputeSleeptime 134694
WalSndWait 134694
ProcessStandbyReplyMessage 205202
ProcessStandbyMessage 214980
LagTrackerWrite 255114
XLogSendPhysical 272412
WalSndPrepareWrite 370046
WalSndWriteData 370046
LagTrackerRead 615606
XLogSendLogical 1678060
WalSndCheckTimeOut 2025188
WalSndKeepaliveIfNecessary 2025188
ProcessRepliesIfAny 2034022
WalSndWakeup 5377844

Generated by: LCOV version 1.16