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-19 13:18:36 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 72
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 126
TransactionIdInRecentPast 140
ProcessStandbyHSFeedbackMessage 262
StartReplication 524
DropReplicationSlot 544
ProcessPendingWrites 606
StartLogicalReplication 836
CreateReplicationSlot 948
parseCreateReplSlotOptions 948
WalSndInitStopping 1314
WalSndWaitStopping 1314
WalSndLoop 1340
IdentifySystem 1432
GetStandbyFlushRecPtr 1636
pg_stat_get_wal_senders 1848
WalSndGetStateString 2128
WalSndShmemInit 2200
InitWalSender 2324
InitWalSenderSlot 2324
WalSndKill 2324
WalSndSignals 2324
offset_to_interval 3526
WalSndUpdateProgress 5048
WalSndShmemSize 8500
ProcessStandbyPSRequestMessage 9492
exec_replication_command 10650
WalSndSegmentOpen 11358
WalSndKeepalive 13182
WalSndDone 21836
NeedToWaitForStandbys 35520
WalSndWaitForWal 36016
logical_read_xlog_page 36016
WalSndSetState 39564
PhysicalWakeupLogicalWalSnd 44194
NeedToWaitForWal 53536
PhysicalConfirmReceivedLocation 91854
WalSndComputeSleeptime 134504
WalSndWait 134504
ProcessStandbyReplyMessage 201082
ProcessStandbyMessage 210836
XLogSendPhysical 238402
LagTrackerWrite 238720
WalSndPrepareWrite 370038
WalSndWriteData 370038
LagTrackerRead 603246
XLogSendLogical 1254228
WalSndCheckTimeOut 1587058
WalSndKeepaliveIfNecessary 1587058
ProcessRepliesIfAny 1600672
WalSndWakeup 5377166

Generated by: LCOV version 1.16