LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1231 1346 91.5 %
Date: 2025-01-30 13:14:47 Functions: 59 59 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
WalSndShutdown 2
AlterReplicationSlot 12
ReadReplicationSlot 12
UploadManifest 20
SendTimeLineHistory 28
WalSndRqstFileReload 48
WalSndLastCycleHandler 50
HandleWalSndInitStopping 66
HandleUploadManifestPacket 78
WalSndErrorCleanup 100
PhysicalReplicationSlotNewXmin 122
TransactionIdInRecentPast 124
ProcessPendingWrites 168
ProcessStandbyHSFeedbackMessage 260
DropReplicationSlot 496
StartReplication 506
StartLogicalReplication 730
CreateReplicationSlot 890
parseCreateReplSlotOptions 890
WalSndInitStopping 1092
WalSndWaitStopping 1092
WalSndLoop 1218
pg_stat_get_wal_senders 1262
IdentifySystem 1308
WalSndGetStateString 1490
GetStandbyFlushRecPtr 1810
WalSndShmemInit 1924
InitWalSender 2124
InitWalSenderSlot 2124
WalSndKill 2124
WalSndSignals 2124
offset_to_interval 2324
WalSndUpdateProgress 4708
WalSndSetState 7076
WalSndShmemSize 7426
exec_replication_command 9714
PhysicalWakeupLogicalWalSnd 12146
WalSndKeepalive 18224
WalSndDone 18520
PhysicalConfirmReceivedLocation 26312
WalSndSegmentOpen 37118
ProcessStandbyReplyMessage 86046
ProcessStandbyMessage 86306
NeedToWaitForStandbys 90872
WalSndWaitForWal 91466
logical_read_xlog_page 91466
NeedToWaitForWal 99318
WalSndComputeSleeptime 103408
WalSndWait 103408
LagTrackerWrite 194464
LagTrackerRead 258138
WalSndPrepareWrite 369756
WalSndWriteData 369756
XLogSendPhysical 478246
XLogSendLogical 1700642
WalSndCheckTimeOut 2248418
WalSndKeepaliveIfNecessary 2248418
ProcessRepliesIfAny 2287716
WalSndWakeup 5152494

Generated by: LCOV version 1.14