LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1275 1396 91.3 %
Date: 2026-01-01 09:17:53 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
UploadManifest 22
SendTimeLineHistory 24
WalSndShutdown 32
WalSndRqstFileReload 56
WalSndLastCycleHandler 78
HandleWalSndInitStopping 80
HandleUploadManifestPacket 86
WalSndErrorCleanup 100
PhysicalReplicationSlotNewXmin 134
TransactionIdInRecentPast 144
ProcessStandbyHSFeedbackMessage 284
StartReplication 550
DropReplicationSlot 552
ProcessPendingWrites 592
StartLogicalReplication 840
CreateReplicationSlot 966
parseCreateReplSlotOptions 966
WalSndInitStopping 1364
WalSndWaitStopping 1364
WalSndLoop 1370
IdentifySystem 1468
pg_stat_get_wal_senders 1604
WalSndGetStateString 1880
GetStandbyFlushRecPtr 1922
WalSndShmemInit 2266
InitWalSender 2378
InitWalSenderSlot 2378
WalSndKill 2378
WalSndSignals 2378
offset_to_interval 2796
WalSndUpdateProgress 5066
WalSndSegmentOpen 6746
WalSndKeepalive 7802
WalSndShmemSize 8758
exec_replication_command 10820
WalSndDone 10830
ProcessStandbyPSRequestMessage 17374
WalSndSetState 22300
NeedToWaitForStandbys 30336
WalSndWaitForWal 30830
logical_read_xlog_page 30830
PhysicalWakeupLogicalWalSnd 52678
NeedToWaitForWal 56222
PhysicalConfirmReceivedLocation 107064
WalSndComputeSleeptime 147158
WalSndWait 147158
ProcessStandbyReplyMessage 219630
LagTrackerWrite 224082
ProcessStandbyMessage 237288
XLogSendPhysical 238958
WalSndPrepareWrite 369900
WalSndWriteData 369900
LagTrackerRead 658890
XLogSendLogical 1678454
WalSndCheckTimeOut 2034398
WalSndKeepaliveIfNecessary 2034398
ProcessRepliesIfAny 2043386
WalSndWakeup 5460580

Generated by: LCOV version 1.16