LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1271 1395 91.1 %
Date: 2025-11-20 15:18:24 Functions: 60 60 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ReadReplicationSlot 12
AlterReplicationSlot 14
SendTimeLineHistory 22
UploadManifest 22
WalSndShutdown 42
WalSndRqstFileReload 56
WalSndLastCycleHandler 72
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 126
TransactionIdInRecentPast 140
ProcessStandbyHSFeedbackMessage 264
StartReplication 524
DropReplicationSlot 544
ProcessPendingWrites 650
StartLogicalReplication 826
CreateReplicationSlot 948
parseCreateReplSlotOptions 948
WalSndInitStopping 1314
WalSndWaitStopping 1314
WalSndLoop 1330
IdentifySystem 1422
GetStandbyFlushRecPtr 1632
pg_stat_get_wal_senders 1894
WalSndGetStateString 2188
WalSndShmemInit 2200
InitWalSender 2314
InitWalSenderSlot 2314
WalSndKill 2314
WalSndSignals 2314
offset_to_interval 3588
WalSndUpdateProgress 4976
WalSndKeepalive 5426
WalSndDone 6996
WalSndSegmentOpen 8398
WalSndShmemSize 8500
exec_replication_command 10612
WalSndSetState 12748
ProcessStandbyPSRequestMessage 14874
NeedToWaitForStandbys 33594
WalSndWaitForWal 34046
logical_read_xlog_page 34046
PhysicalWakeupLogicalWalSnd 52584
NeedToWaitForWal 56864
PhysicalConfirmReceivedLocation 109864
WalSndComputeSleeptime 141324
WalSndWait 141324
ProcessStandbyReplyMessage 222014
LagTrackerWrite 227816
XLogSendPhysical 229410
ProcessStandbyMessage 237152
WalSndPrepareWrite 369756
WalSndWriteData 369756
LagTrackerRead 666042
XLogSendLogical 1676456
WalSndCheckTimeOut 2011430
WalSndKeepaliveIfNecessary 2011430
ProcessRepliesIfAny 2022086
WalSndWakeup 5397998

Generated by: LCOV version 1.16