LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19beta1 Lines: 91.6 % 1445 1323
Test Date: 2026-06-15 19:16:39 Functions: 100.0 % 63 63
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
WalSndDoneImmediate 4
ReadReplicationSlot 6
AlterReplicationSlot 7
UploadManifest 13
WalSndShutdown 13
SendTimeLineHistory 16
WalSndRqstFileReload 32
HandleWalSndInitStopping 48
WalSndLastCycleHandler 48
HandleUploadManifestPacket 52
WalSndErrorCleanup 52
PhysicalReplicationSlotNewXmin 69
TransactionIdInRecentPast 70
ProcessStandbyHSFeedbackMessage 155
DropReplicationSlot 294
StartReplication 308
pg_stat_get_wal_senders 473
StartLogicalReplication 479
CreateReplicationSlot 520
parseCreateReplSlotOptions 520
ProcessPendingWrites 566
WalSndGetStateString 607
WalSndInitStopping 776
WalSndWaitStopping 776
WalSndLoop 777
IdentifySystem 830
GetStandbyFlushRecPtr 1159
WalSndShmemInit 1252
WalSndShmemRequest 1255
InitWalSender 1312
InitWalSenderSlot 1312
WalSndKill 1312
WalSndSignals 1312
offset_to_interval 1476
WalSndDone 1886
WalSndKeepalive 2189
WalSndUpdateProgress 3109
WalSndSetState 3404
WalSndSegmentOpen 5181
exec_replication_command 5926
ProcessStandbyPSRequestMessage 10951
NeedToWaitForStandbys 17920
WalSndWaitForWal 18296
logical_read_xlog_page 18296
NeedToWaitForWal 33872
PhysicalWakeupLogicalWalSnd 40439
PhysicalConfirmReceivedLocation 90108
WalSndComputeSleeptime 104266
WalSndWait 104266
ProcessStandbyReplyMessage 111531
ProcessStandbyMessage 122637
LagTrackerWrite 140967
XLogSendPhysical 188784
WalSndPrepareWrite 205991
WalSndWriteData 205991
LagTrackerRead 334593
XLogSendLogical 776273
WalSndKeepaliveIfNecessary 1018114
WalSndCheckTimeOut 1018118
WalSndCheckShutdownTimeout 1018206
WalSndHandleConfigReload 1023446
ProcessRepliesIfAny 1024012
WalSndWakeup 2861262

Generated by: LCOV version 2.0-1