LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
2185
2465
88.6 %
Date:
2025-07-26 18:18:02
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
8
XLogGetOldestSegno
10
do_pg_abort_backup
16
CreateOverwriteContrecordRecord
24
GetFakeLSNForUnloggedRel
66
XLogFileCopy
80
CreateEndOfRecoveryRecord
82
XLogFileOpen
86
CleanupAfterArchiveRecovery
96
XLogInitNewTimeline
96
BootStrapXLOG
102
InitControlFile
102
WriteControlFile
102
RemoveNonParentXlogFiles
118
GetActiveWalLevelOnStandby
138
ReachedEndOfBackup
142
CleanupBackupHistory
296
PerformRecoveryXLogAction
308
do_pg_backup_stop
310
do_pg_backup_start
324
RemoveTempXlogFiles
350
get_backup_status
364
CheckRequiredParameterValues
492
GetOldestRestartPoint
796
SetWalWriterSleeping
988
GetWALAvailability
1024
XLogPutNextOid
1202
CreateRestartPoint
1238
ShutdownXLOG
1252
RecoveryRestartPoint
1412
RequestXLogSwitch
1552
ReserveXLogSwitch
1552
str_time
1660
XLogReportParameters
1744
LocalSetXLogInsertAllowed
1802
InitializeWalConsistencyChecking
1842
LocalProcessControlFile
1862
StartupXLOG
1864
ValidateXLOGDirectoryStructure
1864
ReadControlFile
1964
XLogShutdownWalRcv
2114
XLOGChooseNumBuffers
2148
XLOGShmemInit
2152
XLogGetLastRemovedSegno
2174
SetInstallXLogFileSegmentActive
2226
assign_checkpoint_completion_target
2226
assign_wal_sync_method
2226
GetSystemIdentifier
2738
LogCheckpointStart
2796
UpdateFullPageWrites
2900
CreateCheckPoint
3010
GetXLogWriteRecPtr
3026
GetLastImportantRecPtr
3100
CheckPointGuts
3392
LogCheckpointEnd
3392
RemoveOldXlogFiles
3392
UpdateCheckPointDistanceEstimate
3392
XLOGfileslop
3392
show_archive_command
3556
PreallocXlogFiles
3936
GetXLogInsertRecPtr
3950
assign_wal_consistency_checking
4016
check_wal_consistency_checking
4018
check_wal_segment_size
4294
check_wal_buffers
4374
KeepLogSeg
4378
XLogGetReplicationSlotMinimumLSN
4378
UpdateLastRemovedPtr
4776
RemoveXlogFile
4810
XLogRecPtrToBytePos
4926
InstallXLogFileSegment
6078
XLOGShmemSize
6150
update_checkpoint_display
6784
WALInsertLockAcquireExclusive
8500
XLogCheckpointNeeded
9438
assign_max_wal_size
11064
XLogFileClose
12738
GetInsertRecPtr
13450
CalculateCheckpointSegments
15254
UpdateControlFile
18056
XLogFileInit
28402
XLogFileInitInternal
28848
show_in_hot_standby
29426
get_sync_bit
32010
XLogBackgroundFlush
33062
XLogSetReplicationSlotMinimumLSN
59108
xlog_redo
87838
GetRecoveryState
90100
XLogSetAsyncXactLSN
98600
WALReadFromBuffers
206976
UpdateMinRecoveryPoint
213762
GetWALInsertionTimeLine
224652
CheckXLogRemoved
242164
issue_xlog_fsync
323870
GetFlushRecPtr
472390
GetRedoRecPtr
592712
XLogFlush
1367340
XLogWrite
4175732
WaitXLogInsertionsToFinish
4236298
WALInsertLockUpdateInsertingAt
4871408
AdvanceXLInsertBuffer
4880802
XLogNeedsFlush
18237668
DataChecksumsEnabled
20292914
ReserveXLogInsertLocation
29255046
CopyXLogRecordToWAL
29256484
WALInsertLockAcquire
29268236
XLogInsertRecord
29271566
WALInsertLockRelease
29276736
GetFullPageWriteInfo
29562026
XLogBytePosToEndRecPtr
30055052
GetXLogBuffer
34194374
XLogBytePosToRecPtr
58518118
XLogInsertAllowed
61172850
RecoveryInProgress
178525154
Generated by:
LCOV version 1.16