LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 19devel
Lines:
88.7 %
2499
2217
Test Date:
2026-02-27 21:14:41
Functions:
97.6 %
124
121
Legend:
Lines:    
hit
not hit
Function Name
Hit count
GetActiveWalLevelOnStandby
0
GetLastSegSwitchData
0
IsInstallXLogFileSegmentActive
0
GetWALInsertionTimeLineIfSet
1
GetMockAuthenticationNonce
2
SwitchIntoArchiveRecovery
2
XLogRestorePoint
3
GetDefaultCharSignedness
4
register_persistent_abort_backup_handler
4
XLogGetOldestSegno
7
do_pg_abort_backup
8
CreateOverwriteContrecordRecord
11
GetFakeLSNForUnloggedRel
33
XLogFileCopy
45
CreateEndOfRecoveryRecord
48
BootStrapXLOG
51
InitControlFile
51
WriteControlFile
51
CleanupAfterArchiveRecovery
55
XLogInitNewTimeline
55
RemoveNonParentXlogFiles
66
ReachedEndOfBackup
80
CleanupBackupHistory
157
PerformRecoveryXLogAction
163
do_pg_backup_stop
165
do_pg_backup_start
172
RemoveTempXlogFiles
186
get_backup_status
192
XLogFileOpen
251
CheckRequiredParameterValues
262
GetOldestRestartPoint
386
SetWalWriterSleeping
543
CreateRestartPoint
596
GetWALAvailability
631
XLogPutNextOid
635
ShutdownXLOG
695
RecoveryRestartPoint
731
RequestXLogSwitch
803
ReserveXLogSwitch
803
str_time
893
XLogReportParameters
941
LocalSetXLogInsertAllowed
970
InitializeWalConsistencyChecking
995
XLogShutdownWalRcv
999
LocalProcessControlFile
1005
StartupXLOG
1005
ValidateXLOGDirectoryStructure
1005
ReadControlFile
1056
ResetInstallXLogFileSegmentActive
1139
XLOGChooseNumBuffers
1148
XLOGShmemInit
1150
SetInstallXLogFileSegmentActive
1183
assign_checkpoint_completion_target
1187
assign_wal_sync_method
1187
XLogGetLastRemovedSegno
1228
GetSystemIdentifier
1468
LogCheckpointStart
1495
UpdateFullPageWrites
1588
CreateCheckPoint
1600
GetLastImportantRecPtr
1649
CheckPointGuts
1793
LogCheckpointEnd
1793
RemoveOldXlogFiles
1793
UpdateCheckPointDistanceEstimate
1793
XLOGfileslop
1793
show_archive_command
1793
show_effective_wal_level
1825
GetXLogInsertRecPtr
2023
PreallocXlogFiles
2068
assign_wal_consistency_checking
2166
check_wal_consistency_checking
2167
check_wal_segment_size
2295
check_wal_buffers
2335
KeepLogSeg
2394
XLogGetReplicationSlotMinimumLSN
2400
XLogRecPtrToBytePos
2624
UpdateLastRemovedPtr
2645
RemoveXlogFile
2661
InstallXLogFileSegment
2985
CheckpointFlagsString
2990
XLOGShmemSize
3297
update_checkpoint_display
3586
GetXLogWriteRecPtr
4469
WALInsertLockAcquireExclusive
4534
XLogCheckpointNeeded
4938
assign_max_wal_size
6018
XLogFileClose
6575
GetInsertRecPtr
6779
CalculateCheckpointSegments
8261
UpdateControlFile
9617
XLogFileInit
14739
XLogFileInitInternal
14958
XLogBackgroundFlush
15409
show_in_hot_standby
16043
get_sync_bit
16591
GetRecoveryState
24164
XLogSetReplicationSlotMinimumLSN
40055
xlog_redo
45359
XLogSetAsyncXactLSN
49813
WALReadFromBuffers
99976
GetWALInsertionTimeLine
108595
UpdateMinRecoveryPoint
112048
CheckXLogRemoved
117031
GetFlushRecPtr
169574
issue_xlog_fsync
175497
GetRedoRecPtr
303080
XLogFlush
716073
XLogWrite
2208906
WaitXLogInsertionsToFinish
2348611
WALInsertLockUpdateInsertingAt
2489235
AdvanceXLInsertBuffer
2494060
XLogNeedsFlush
8866296
DataChecksumsEnabled
10493984
ReserveXLogInsertLocation
15391049
CopyXLogRecordToWAL
15391791
WALInsertLockAcquire
15398187
XLogInsertRecord
15399911
WALInsertLockRelease
15402721
GetFullPageWriteInfo
15548406
XLogBytePosToEndRecPtr
15884242
GetXLogBuffer
17935105
XLogBytePosToRecPtr
30786271
XLogInsertAllowed
41017781
RecoveryInProgress
82767407
Generated by:
LCOV version 2.0-1