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-21 02:17:27 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 36
WalSndRqstFileReload 58
WalSndLastCycleHandler 70
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 92
PhysicalReplicationSlotNewXmin 128
TransactionIdInRecentPast 142
ProcessStandbyHSFeedbackMessage 262
ProcessPendingWrites 490
StartReplication 524
DropReplicationSlot 548
StartLogicalReplication 828
CreateReplicationSlot 952
parseCreateReplSlotOptions 952
WalSndInitStopping 1314
WalSndWaitStopping 1314
WalSndLoop 1332
IdentifySystem 1424
pg_stat_get_wal_senders 1530
GetStandbyFlushRecPtr 1594
WalSndGetStateString 1794
WalSndShmemInit 2200
InitWalSender 2324
InitWalSenderSlot 2324
WalSndKill 2324
WalSndSignals 2324
offset_to_interval 2682
WalSndUpdateProgress 5242
WalSndShmemSize 8500
exec_replication_command 10640
WalSndKeepalive 13884
WalSndSegmentOpen 14358
ProcessStandbyPSRequestMessage 15834
WalSndDone 18770
WalSndSetState 30450
PhysicalWakeupLogicalWalSnd 41296
NeedToWaitForStandbys 45952
WalSndWaitForWal 46462
logical_read_xlog_page 46462
NeedToWaitForWal 70370
PhysicalConfirmReceivedLocation 87536
WalSndComputeSleeptime 138960
WalSndWait 138960
ProcessStandbyReplyMessage 189456
ProcessStandbyMessage 205552
LagTrackerWrite 239548
XLogSendPhysical 245978
WalSndPrepareWrite 375956
WalSndWriteData 375956
LagTrackerRead 568368
XLogSendLogical 1695208
WalSndCheckTimeOut 2033162
WalSndKeepaliveIfNecessary 2033162
ProcessRepliesIfAny 2049956
WalSndWakeup 5373894

Generated by: LCOV version 1.16