LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
2189
2468
88.7 %
Date:
2025-08-20 21:18:26
Functions:
118
121
97.5 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
GetLastSegSwitchData
0
GetWALInsertionTimeLineIfSet
0
IsInstallXLogFileSegmentActive
0
GetMockAuthenticationNonce
2
SwitchIntoArchiveRecovery
4
GetDefaultCharSignedness
6
XLogRestorePoint
6
register_persistent_abort_backup_handler
6
XLogGetOldestSegno
10
do_pg_abort_backup
14
CreateOverwriteContrecordRecord
20
GetFakeLSNForUnloggedRel
66
XLogFileCopy
78
CreateEndOfRecoveryRecord
82
CleanupAfterArchiveRecovery
96
XLogInitNewTimeline
96
BootStrapXLOG
100
InitControlFile
100
WriteControlFile
100
RemoveNonParentXlogFiles
118
GetActiveWalLevelOnStandby
138
ReachedEndOfBackup
140
XLogFileOpen
158
CleanupBackupHistory
294
PerformRecoveryXLogAction
308
do_pg_backup_stop
308
do_pg_backup_start
320
RemoveTempXlogFiles
348
get_backup_status
358
CheckRequiredParameterValues
490
GetOldestRestartPoint
780
SetWalWriterSleeping
986
GetWALAvailability
1008
CreateRestartPoint
1168
XLogPutNextOid
1202
ShutdownXLOG
1272
RecoveryRestartPoint
1414
RequestXLogSwitch
1548
ReserveXLogSwitch
1548
str_time
1646
XLogReportParameters
1748
LocalSetXLogInsertAllowed
1806
InitializeWalConsistencyChecking
1848
StartupXLOG
1866
ValidateXLOGDirectoryStructure
1866
LocalProcessControlFile
1868
ReadControlFile
1968
XLogShutdownWalRcv
2114
XLOGChooseNumBuffers
2148
XLOGShmemInit
2152
XLogGetLastRemovedSegno
2172
SetInstallXLogFileSegmentActive
2228
assign_checkpoint_completion_target
2228
assign_wal_sync_method
2228
GetSystemIdentifier
2768
LogCheckpointStart
2822
UpdateFullPageWrites
2908
CreateCheckPoint
3028
GetLastImportantRecPtr
3116
CheckPointGuts
3406
LogCheckpointEnd
3406
RemoveOldXlogFiles
3406
UpdateCheckPointDistanceEstimate
3406
XLOGfileslop
3406
show_archive_command
3454
PreallocXlogFiles
3934
GetXLogInsertRecPtr
3964
assign_wal_consistency_checking
4018
check_wal_consistency_checking
4020
check_wal_segment_size
4298
KeepLogSeg
4376
XLogGetReplicationSlotMinimumLSN
4376
check_wal_buffers
4376
GetXLogWriteRecPtr
4526
XLogRecPtrToBytePos
4936
UpdateLastRemovedPtr
5034
RemoveXlogFile
5068
InstallXLogFileSegment
5838
XLOGShmemSize
6156
update_checkpoint_display
6812
WALInsertLockAcquireExclusive
8484
XLogCheckpointNeeded
10286
assign_max_wal_size
11084
XLogFileClose
12652
CalculateCheckpointSegments
15280
GetInsertRecPtr
16486
UpdateControlFile
18050
XLogFileInit
28412
XLogFileInitInternal
28906
show_in_hot_standby
29656
get_sync_bit
31656
XLogBackgroundFlush
32850
GetRecoveryState
40086
XLogSetReplicationSlotMinimumLSN
58980
xlog_redo
86854
XLogSetAsyncXactLSN
94052
WALReadFromBuffers
195060
UpdateMinRecoveryPoint
209154
GetWALInsertionTimeLine
218102
CheckXLogRemoved
232876
issue_xlog_fsync
316872
GetFlushRecPtr
440570
GetRedoRecPtr
588210
XLogFlush
1345636
XLogWrite
4149458
WaitXLogInsertionsToFinish
4220760
WALInsertLockUpdateInsertingAt
5072202
AdvanceXLInsertBuffer
5082020
XLogNeedsFlush
17328594
DataChecksumsEnabled
20225540
ReserveXLogInsertLocation
29075912
CopyXLogRecordToWAL
29077352
WALInsertLockAcquire
29089166
XLogInsertRecord
29092498
WALInsertLockRelease
29097650
GetFullPageWriteInfo
29374780
XLogBytePosToEndRecPtr
29859604
GetXLogBuffer
33992394
XLogBytePosToRecPtr
58159886
XLogInsertAllowed
60767894
RecoveryInProgress
177501112
Generated by:
LCOV version 1.16