LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1266 1395 90.8 %
Date: 2025-11-26 21:17:57 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
WalSndRqstFileReload 56
WalSndLastCycleHandler 70
WalSndShutdown 72
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 128
TransactionIdInRecentPast 132
ProcessStandbyHSFeedbackMessage 262
StartReplication 526
DropReplicationSlot 546
ProcessPendingWrites 672
StartLogicalReplication 850
CreateReplicationSlot 948
parseCreateReplSlotOptions 948
WalSndInitStopping 1318
WalSndWaitStopping 1318
WalSndLoop 1356
IdentifySystem 1448
pg_stat_get_wal_senders 1556
GetStandbyFlushRecPtr 1634
WalSndGetStateString 1840
WalSndShmemInit 2204
InitWalSender 2348
InitWalSenderSlot 2348
WalSndKill 2348
WalSndSignals 2348
offset_to_interval 2528
WalSndUpdateProgress 5020
WalSndSegmentOpen 6032
WalSndShmemSize 8516
WalSndKeepalive 10164
exec_replication_command 10694
WalSndDone 15152
ProcessStandbyPSRequestMessage 16506
NeedToWaitForStandbys 23422
WalSndWaitForWal 23888
logical_read_xlog_page 23888
WalSndSetState 31508
NeedToWaitForWal 48582
PhysicalWakeupLogicalWalSnd 52284
PhysicalConfirmReceivedLocation 115206
WalSndComputeSleeptime 195704
WalSndWait 195704
ProcessStandbyReplyMessage 232018
ProcessStandbyMessage 248786
LagTrackerWrite 263568
XLogSendPhysical 287116
WalSndPrepareWrite 370046
WalSndWriteData 370046
LagTrackerRead 696054
XLogSendLogical 1110970
WalSndCheckTimeOut 1524902
WalSndKeepaliveIfNecessary 1524902
ProcessRepliesIfAny 1533262
WalSndWakeup 5390626

Generated by: LCOV version 1.16