LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1238 1357 91.2 %
Date: 2024-07-26 23:11:50 Functions: 60 60 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
WalSndShutdown 2
AlterReplicationSlot 10
ReadReplicationSlot 12
UploadManifest 18
SendTimeLineHistory 28
WalSndRqstFileReload 40
ProcessPendingWrites 48
WalSndLastCycleHandler 48
HandleWalSndInitStopping 62
HandleUploadManifestPacket 70
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 126
TransactionIdInRecentPast 128
ProcessStandbyHSFeedbackMessage 260
WalSndResourceCleanup 380
DropReplicationSlot 452
StartReplication 482
StartLogicalReplication 666
CreateReplicationSlot 822
parseCreateReplSlotOptions 822
WalSndInitStopping 1014
WalSndWaitStopping 1014
WalSndLoop 1128
pg_stat_get_wal_senders 1190
IdentifySystem 1220
WalSndGetStateString 1392
WalSndShmemInit 1790
GetStandbyFlushRecPtr 1850
InitWalSender 1964
InitWalSenderSlot 1964
WalSndKill 1964
WalSndSignals 1964
offset_to_interval 2156
WalSndSetState 4050
WalSndUpdateProgress 4500
WalSndShmemSize 6922
exec_replication_command 9012
WalSndKeepalive 31778
PhysicalWakeupLogicalWalSnd 38038
WalSndDone 38240
WalSndSegmentOpen 78128
PhysicalConfirmReceivedLocation 100558
LagTrackerWrite 127314
WalSndComputeSleeptime 152338
WalSndWait 152338
NeedToWaitForStandbys 175072
WalSndWaitForWal 175662
logical_read_xlog_page 175662
ProcessStandbyReplyMessage 180996
ProcessStandbyMessage 181256
NeedToWaitForWal 182804
XLogSendPhysical 187894
WalSndPrepareWrite 369262
WalSndWriteData 369262
LagTrackerRead 542988
XLogSendLogical 1733252
WalSndCheckTimeOut 1920056
WalSndKeepaliveIfNecessary 1920056
ProcessRepliesIfAny 2001330
WalSndWakeup 5069834

Generated by: LCOV version 1.14