LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1231 1346 91.5 %
Date: 2025-01-29 21:14:48 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 20
SendTimeLineHistory 28
WalSndRqstFileReload 48
WalSndLastCycleHandler 56
HandleWalSndInitStopping 68
HandleUploadManifestPacket 78
ProcessPendingWrites 78
WalSndErrorCleanup 94
PhysicalReplicationSlotNewXmin 122
TransactionIdInRecentPast 124
ProcessStandbyHSFeedbackMessage 262
DropReplicationSlot 494
StartReplication 508
StartLogicalReplication 724
CreateReplicationSlot 890
parseCreateReplSlotOptions 890
WalSndInitStopping 1092
WalSndWaitStopping 1092
WalSndLoop 1214
pg_stat_get_wal_senders 1264
IdentifySystem 1304
WalSndGetStateString 1498
GetStandbyFlushRecPtr 1806
WalSndShmemInit 1924
InitWalSender 2114
InitWalSenderSlot 2114
WalSndKill 2114
WalSndSignals 2114
offset_to_interval 2240
WalSndUpdateProgress 4684
WalSndShmemSize 7426
exec_replication_command 9692
WalSndSetState 14928
PhysicalWakeupLogicalWalSnd 16026
WalSndKeepalive 16720
WalSndDone 27928
PhysicalConfirmReceivedLocation 38196
WalSndSegmentOpen 48102
ProcessStandbyReplyMessage 96306
ProcessStandbyMessage 96568
WalSndComputeSleeptime 110860
WalSndWait 110860
NeedToWaitForStandbys 112754
WalSndWaitForWal 113372
logical_read_xlog_page 113372
NeedToWaitForWal 121232
LagTrackerWrite 213312
LagTrackerRead 288918
WalSndPrepareWrite 369790
WalSndWriteData 369790
XLogSendPhysical 670944
XLogSendLogical 1708496
WalSndCheckTimeOut 2432916
WalSndKeepaliveIfNecessary 2432916
ProcessRepliesIfAny 2483160
WalSndWakeup 5155980

Generated by: LCOV version 1.14