LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2206 2488 88.7 %
Date: 2026-02-11 14:17:13 Functions: 120 123 97.6 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
GetActiveWalLevelOnStandby 0
GetLastSegSwitchData 0
IsInstallXLogFileSegmentActive 0
GetMockAuthenticationNonce 2
GetWALInsertionTimeLineIfSet 2
SwitchIntoArchiveRecovery 4
XLogRestorePoint 6
GetDefaultCharSignedness 8
register_persistent_abort_backup_handler 8
XLogGetOldestSegno 14
do_pg_abort_backup 16
CreateOverwriteContrecordRecord 22
GetFakeLSNForUnloggedRel 66
XLogFileCopy 90
CreateEndOfRecoveryRecord 94
BootStrapXLOG 102
InitControlFile 102
WriteControlFile 102
CleanupAfterArchiveRecovery 108
XLogInitNewTimeline 108
RemoveNonParentXlogFiles 132
ReachedEndOfBackup 160
XLogFileOpen 256
CleanupBackupHistory 310
PerformRecoveryXLogAction 324
do_pg_backup_stop 326
do_pg_backup_start 340
RemoveTempXlogFiles 372
get_backup_status 380
CheckRequiredParameterValues 526
GetOldestRestartPoint 788
SetWalWriterSleeping 1054
CreateRestartPoint 1222
XLogPutNextOid 1264
GetWALAvailability 1300
ShutdownXLOG 1372
RecoveryRestartPoint 1454
RequestXLogSwitch 1598
ReserveXLogSwitch 1598
str_time 1766
XLogReportParameters 1860
LocalSetXLogInsertAllowed 1918
InitializeWalConsistencyChecking 1970
XLogShutdownWalRcv 1976
LocalProcessControlFile 1990
StartupXLOG 1990
ValidateXLOGDirectoryStructure 1990
ReadControlFile 2092
XLOGChooseNumBuffers 2276
ResetInstallXLogFileSegmentActive 2280
XLOGShmemInit 2280
assign_checkpoint_completion_target 2356
assign_wal_sync_method 2356
SetInstallXLogFileSegmentActive 2366
XLogGetLastRemovedSegno 2488
GetSystemIdentifier 2940
LogCheckpointStart 2982
UpdateFullPageWrites 3136
CreateCheckPoint 3182
GetLastImportantRecPtr 3288
show_archive_command 3460
show_effective_wal_level 3524
CheckPointGuts 3578
LogCheckpointEnd 3578
RemoveOldXlogFiles 3578
UpdateCheckPointDistanceEstimate 3578
XLOGfileslop 3578
GetXLogInsertRecPtr 4042
PreallocXlogFiles 4124
assign_wal_consistency_checking 4294
check_wal_consistency_checking 4296
check_wal_segment_size 4552
check_wal_buffers 4632
KeepLogSeg 4810
XLogGetReplicationSlotMinimumLSN 4824
UpdateLastRemovedPtr 5072
RemoveXlogFile 5106
XLogRecPtrToBytePos 5204
InstallXLogFileSegment 5978
XLOGShmemSize 6534
update_checkpoint_display 7156
WALInsertLockAcquireExclusive 8904
XLogCheckpointNeeded 9514
assign_max_wal_size 12022
XLogFileClose 13032
GetInsertRecPtr 14126
CalculateCheckpointSegments 16470
GetXLogWriteRecPtr 17182
UpdateControlFile 19060
XLogFileInit 29506
XLogFileInitInternal 29948
show_in_hot_standby 31532
get_sync_bit 32942
XLogBackgroundFlush 38982
GetRecoveryState 47822
XLogSetReplicationSlotMinimumLSN 66468
xlog_redo 88450
XLogSetAsyncXactLSN 96134
WALReadFromBuffers 208514
UpdateMinRecoveryPoint 220718
GetWALInsertionTimeLine 238386
CheckXLogRemoved 253266
issue_xlog_fsync 340654
GetFlushRecPtr 515724
GetRedoRecPtr 603006
XLogFlush 1413604
XLogWrite 4405084
WaitXLogInsertionsToFinish 4725086
WALInsertLockUpdateInsertingAt 5014288
AdvanceXLInsertBuffer 5024098
XLogNeedsFlush 17586750
DataChecksumsEnabled 19806468
ReserveXLogInsertLocation 30769230
CopyXLogRecordToWAL 30770714
WALInsertLockAcquire 30783430
XLogInsertRecord 30786868
WALInsertLockRelease 30792334
GetFullPageWriteInfo 31084996
XLogBytePosToEndRecPtr 31734744
GetXLogBuffer 35847420
XLogBytePosToRecPtr 61546784
XLogInsertAllowed 81845596
RecoveryInProgress 160687578

Generated by: LCOV version 1.16