LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1232 1347 91.5 %
Date: 2024-12-12 17:14:55 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 22
SendTimeLineHistory 28
WalSndRqstFileReload 40
WalSndLastCycleHandler 52
HandleWalSndInitStopping 68
ProcessPendingWrites 82
HandleUploadManifestPacket 86
WalSndErrorCleanup 102
PhysicalReplicationSlotNewXmin 122
TransactionIdInRecentPast 124
ProcessStandbyHSFeedbackMessage 264
DropReplicationSlot 492
StartReplication 510
StartLogicalReplication 724
CreateReplicationSlot 886
parseCreateReplSlotOptions 886
WalSndInitStopping 1088
WalSndWaitStopping 1088
WalSndLoop 1214
pg_stat_get_wal_senders 1266
IdentifySystem 1312
WalSndGetStateString 1492
GetStandbyFlushRecPtr 1806
WalSndShmemInit 1908
InitWalSender 2122
InitWalSenderSlot 2122
WalSndKill 2122
WalSndSignals 2122
offset_to_interval 2248
WalSndSetState 4330
WalSndUpdateProgress 4692
WalSndShmemSize 7362
exec_replication_command 9716
PhysicalWakeupLogicalWalSnd 13150
WalSndKeepalive 18528
PhysicalConfirmReceivedLocation 29116
WalSndDone 29160
WalSndSegmentOpen 61310
ProcessStandbyReplyMessage 92398
ProcessStandbyMessage 92662
WalSndComputeSleeptime 108866
WalSndWait 108866
NeedToWaitForStandbys 139302
WalSndWaitForWal 139934
logical_read_xlog_page 139934
NeedToWaitForWal 147852
LagTrackerWrite 198272
LagTrackerRead 277194
XLogSendPhysical 324876
WalSndPrepareWrite 369738
WalSndWriteData 369738
XLogSendLogical 1722564
WalSndCheckTimeOut 2104046
WalSndKeepaliveIfNecessary 2104046
ProcessRepliesIfAny 2167550
WalSndWakeup 5135490

Generated by: LCOV version 1.14