LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 17devel Lines: 1236 1356 91.2 %
Date: 2024-05-19 07:11:14 Functions: 61 61 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AlterReplicationSlot 6
CreateReplicationSlot 814
DropReplicationSlot 450
GetStandbyFlushRecPtr 1812
HandleUploadManifestPacket 62
HandleWalSndInitStopping 58
IdentifySystem 1198
InitWalSender 1936
InitWalSenderSlot 1936
LagTrackerRead 484638
LagTrackerWrite 126128
NeedToWaitForStandbys 109674
NeedToWaitForWal 117174
ParseAlterReplSlotOptions 6
PhysicalConfirmReceivedLocation 98700
PhysicalReplicationSlotNewXmin 120
PhysicalWakeupLogicalWalSnd 36954
ProcessPendingWrites 62
ProcessRepliesIfAny 1930884
ProcessStandbyHSFeedbackMessage 254
ProcessStandbyMessage 161800
ProcessStandbyReplyMessage 161546
ReadReplicationSlot 12
SendTimeLineHistory 26
StartLogicalReplication 664
StartReplication 470
TransactionIdInRecentPast 86
UploadManifest 16
WalSndCheckTimeOut 1882360
WalSndComputeSleeptime 132986
WalSndDone 21916
WalSndErrorCleanup 94
WalSndGetStateString 1388
WalSndInitStopping 1000
WalSndKeepalive 14226
WalSndKeepaliveIfNecessary 1882360
WalSndKill 1936
WalSndLastCycleHandler 44
WalSndLoop 1114
WalSndPrepareWrite 369260
WalSndResourceCleanup 366
WalSndRqstFileReload 40
WalSndSegmentOpen 45470
WalSndSetState 3974
WalSndShmemInit 1768
WalSndShmemSize 6834
WalSndShutdown 2
WalSndSignals 1936
WalSndUpdateProgress 4502
WalSndWait 132986
WalSndWaitForWal 110260
WalSndWaitStopping 1000
WalSndWakeup 5049884
WalSndWriteData 369260
XLogSendLogical 1700054
XLogSendPhysical 184426
exec_replication_command 8918
logical_read_xlog_page 110260
offset_to_interval 2176
parseCreateReplSlotOptions 814
pg_stat_get_wal_senders 1176

Generated by: LCOV version 1.14