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

Function Name Sort by function name Hit count Sort by hit count
WalSndShutdown 2
ReadReplicationSlot 12
UploadManifest 16
AlterReplicationSlot 20
ParseAlterReplSlotOptions 20
SendTimeLineHistory 26
WalSndRqstFileReload 40
WalSndLastCycleHandler 44
ProcessPendingWrites 48
HandleWalSndInitStopping 58
HandleUploadManifestPacket 62
TransactionIdInRecentPast 86
WalSndErrorCleanup 92
PhysicalReplicationSlotNewXmin 120
ProcessStandbyHSFeedbackMessage 252
WalSndResourceCleanup 364
DropReplicationSlot 448
StartReplication 470
StartLogicalReplication 660
CreateReplicationSlot 810
parseCreateReplSlotOptions 810
WalSndInitStopping 1000
WalSndWaitStopping 1000
WalSndLoop 1110
pg_stat_get_wal_senders 1166
IdentifySystem 1196
WalSndGetStateString 1380
WalSndShmemInit 1768
GetStandbyFlushRecPtr 1804
InitWalSender 1936
InitWalSenderSlot 1936
WalSndKill 1936
WalSndSignals 1936
offset_to_interval 2108
WalSndSetState 3968
WalSndUpdateProgress 4506
WalSndShmemSize 6834
exec_replication_command 8890
WalSndKeepalive 22802
WalSndDone 27760
PhysicalWakeupLogicalWalSnd 38342
WalSndSegmentOpen 57152
PhysicalConfirmReceivedLocation 102374
LagTrackerWrite 130184
NeedToWaitForStandbys 133102
WalSndWaitForWal 133692
logical_read_xlog_page 133692
NeedToWaitForWal 140816
WalSndComputeSleeptime 146242
WalSndWait 146242
ProcessStandbyReplyMessage 165836
ProcessStandbyMessage 166088
XLogSendPhysical 172312
WalSndPrepareWrite 369232
WalSndWriteData 369232
LagTrackerRead 497508
XLogSendLogical 1709262
WalSndCheckTimeOut 1881974
WalSndKeepaliveIfNecessary 1881974
ProcessRepliesIfAny 1942266
WalSndWakeup 5110424

Generated by: LCOV version 1.14