LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1226 1346 91.1 %
Date: 2025-02-18 08:14:55 Functions: 59 59 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AlterReplicationSlot 12
CreateReplicationSlot 890
DropReplicationSlot 494
GetStandbyFlushRecPtr 1848
HandleUploadManifestPacket 86
HandleWalSndInitStopping 68
IdentifySystem 1314
InitWalSender 2122
InitWalSenderSlot 2122
LagTrackerRead 264600
LagTrackerWrite 201212
NeedToWaitForStandbys 93080
NeedToWaitForWal 101458
PhysicalConfirmReceivedLocation 23450
PhysicalReplicationSlotNewXmin 122
PhysicalWakeupLogicalWalSnd 11466
ProcessPendingWrites 206
ProcessRepliesIfAny 2078020
ProcessStandbyHSFeedbackMessage 268
ProcessStandbyMessage 88468
ProcessStandbyReplyMessage 88200
ReadReplicationSlot 12
SendTimeLineHistory 28
StartLogicalReplication 730
StartReplication 514
TransactionIdInRecentPast 124
UploadManifest 22
WalSndCheckTimeOut 2038166
WalSndComputeSleeptime 104562
WalSndDone 22320
WalSndErrorCleanup 94
WalSndGetStateString 1490
WalSndInitStopping 1092
WalSndKeepalive 17410
WalSndKeepaliveIfNecessary 2038166
WalSndKill 2122
WalSndLastCycleHandler 54
WalSndLoop 1222
WalSndPrepareWrite 369858
WalSndRqstFileReload 48
WalSndSegmentOpen 38820
WalSndSetState 14102
WalSndShmemInit 1926
WalSndShmemSize 7434
WalSndShutdown 6
WalSndSignals 2122
WalSndUpdateProgress 4696
WalSndWait 104562
WalSndWaitForWal 93674
WalSndWaitStopping 1092
WalSndWakeup 5191514
WalSndWriteData 369858
XLogSendLogical 1700892
XLogSendPhysical 267424
exec_replication_command 9734
logical_read_xlog_page 93674
offset_to_interval 2204
parseCreateReplSlotOptions 890
pg_stat_get_wal_senders 1258

Generated by: LCOV version 1.14