LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1221 1346 90.7 %
Date: 2025-02-18 01:15:04 Functions: 58 59 98.3 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AlterReplicationSlot 12
CreateReplicationSlot 890
DropReplicationSlot 494
GetStandbyFlushRecPtr 1834
HandleUploadManifestPacket 78
HandleWalSndInitStopping 68
IdentifySystem 1306
InitWalSender 2112
InitWalSenderSlot 2112
LagTrackerRead 321786
LagTrackerWrite 215152
NeedToWaitForStandbys 174460
NeedToWaitForWal 182878
PhysicalConfirmReceivedLocation 36398
PhysicalReplicationSlotNewXmin 122
PhysicalWakeupLogicalWalSnd 16366
ProcessPendingWrites 66
ProcessRepliesIfAny 2150806
ProcessStandbyHSFeedbackMessage 262
ProcessStandbyMessage 107524
ProcessStandbyReplyMessage 107262
ReadReplicationSlot 12
SendTimeLineHistory 28
StartLogicalReplication 726
StartReplication 508
TransactionIdInRecentPast 124
UploadManifest 20
WalSndCheckTimeOut 2069730
WalSndComputeSleeptime 131790
WalSndDone 43180
WalSndErrorCleanup 94
WalSndGetStateString 1500
WalSndInitStopping 1092
WalSndKeepalive 33232
WalSndKeepaliveIfNecessary 2069730
WalSndKill 2112
WalSndLastCycleHandler 52
WalSndLoop 1212
WalSndPrepareWrite 369774
WalSndRqstFileReload 48
WalSndSegmentOpen 78956
WalSndSetState 14584
WalSndShmemInit 1926
WalSndShmemSize 7434
WalSndShutdown 0
WalSndSignals 2112
WalSndUpdateProgress 4682
WalSndWait 131790
WalSndWaitForWal 175084
WalSndWaitStopping 1092
WalSndWakeup 5183046
WalSndWriteData 369774
XLogSendLogical 1739292
XLogSendPhysical 271700
exec_replication_command 9712
logical_read_xlog_page 175084
offset_to_interval 2098
parseCreateReplSlotOptions 890
pg_stat_get_wal_senders 1270

Generated by: LCOV version 1.14