LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 17devel Lines: 1240 1356 91.4 %
Date: 2024-05-20 05:11:12 Functions: 61 61 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
WalSndShutdown 2
AlterReplicationSlot 6
ParseAlterReplSlotOptions 6
ReadReplicationSlot 12
UploadManifest 16
SendTimeLineHistory 26
WalSndRqstFileReload 40
WalSndLastCycleHandler 44
HandleWalSndInitStopping 58
ProcessPendingWrites 58
HandleUploadManifestPacket 62
TransactionIdInRecentPast 86
WalSndErrorCleanup 94
PhysicalReplicationSlotNewXmin 120
ProcessStandbyHSFeedbackMessage 260
WalSndResourceCleanup 370
DropReplicationSlot 450
StartReplication 476
StartLogicalReplication 666
CreateReplicationSlot 816
parseCreateReplSlotOptions 816
WalSndInitStopping 1000
WalSndWaitStopping 1000
WalSndLoop 1122
pg_stat_get_wal_senders 1174
IdentifySystem 1210
WalSndGetStateString 1388
WalSndShmemInit 1768
GetStandbyFlushRecPtr 1812
InitWalSender 1950
InitWalSenderSlot 1950
WalSndKill 1950
WalSndSignals 1950
offset_to_interval 2152
WalSndSetState 3972
WalSndUpdateProgress 4496
WalSndShmemSize 6834
exec_replication_command 8956
WalSndKeepalive 14272
WalSndDone 21804
PhysicalWakeupLogicalWalSnd 37230
WalSndSegmentOpen 45242
PhysicalConfirmReceivedLocation 99128
NeedToWaitForStandbys 109270
WalSndWaitForWal 109844
logical_read_xlog_page 109844
NeedToWaitForWal 116868
LagTrackerWrite 126214
WalSndComputeSleeptime 133666
WalSndWait 133666
ProcessStandbyReplyMessage 164062
ProcessStandbyMessage 164322
XLogSendPhysical 237054
WalSndPrepareWrite 369254
WalSndWriteData 369254
LagTrackerRead 492186
XLogSendLogical 1698850
WalSndCheckTimeOut 1933382
WalSndKeepaliveIfNecessary 1933382
ProcessRepliesIfAny 1981744
WalSndWakeup 5050206

Generated by: LCOV version 1.14