LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
2167
2446
88.6 %
Date:
2025-09-11 01: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
12
do_pg_abort_backup
16
CreateOverwriteContrecordRecord
20
GetFakeLSNForUnloggedRel
66
XLogFileCopy
78
CreateEndOfRecoveryRecord
82
CleanupAfterArchiveRecovery
96
XLogInitNewTimeline
96
BootStrapXLOG
100
InitControlFile
100
WriteControlFile
100
RemoveNonParentXlogFiles
120
GetActiveWalLevelOnStandby
138
ReachedEndOfBackup
142
XLogFileOpen
220
CleanupBackupHistory
296
PerformRecoveryXLogAction
308
do_pg_backup_stop
310
do_pg_backup_start
324
RemoveTempXlogFiles
350
get_backup_status
364
CheckRequiredParameterValues
494
GetOldestRestartPoint
796
SetWalWriterSleeping
998
GetWALAvailability
1068
CreateRestartPoint
1196
XLogPutNextOid
1212
ShutdownXLOG
1294
RecoveryRestartPoint
1416
RequestXLogSwitch
1552
ReserveXLogSwitch
1552
str_time
1670
XLogReportParameters
1770
LocalSetXLogInsertAllowed
1828
InitializeWalConsistencyChecking
1870
LocalProcessControlFile
1890
StartupXLOG
1890
ValidateXLOGDirectoryStructure
1890
ReadControlFile
1990
XLogShutdownWalRcv
2144
XLOGChooseNumBuffers
2170
XLOGShmemInit
2174
XLogGetLastRemovedSegno
2214
SetInstallXLogFileSegmentActive
2246
assign_checkpoint_completion_target
2250
assign_wal_sync_method
2250
GetSystemIdentifier
2790
LogCheckpointStart
2840
UpdateFullPageWrites
2952
CreateCheckPoint
3048
GetLastImportantRecPtr
3128
CheckPointGuts
3424
LogCheckpointEnd
3424
RemoveOldXlogFiles
3424
UpdateCheckPointDistanceEstimate
3424
XLOGfileslop
3424
show_archive_command
3448
PreallocXlogFiles
3952
GetXLogInsertRecPtr
3956
assign_wal_consistency_checking
4036
check_wal_consistency_checking
4038
check_wal_segment_size
4342
check_wal_buffers
4420
KeepLogSeg
4438
XLogGetReplicationSlotMinimumLSN
4438
XLogRecPtrToBytePos
4978
UpdateLastRemovedPtr
5134
RemoveXlogFile
5166
InstallXLogFileSegment
5874
XLOGShmemSize
6222
update_checkpoint_display
6848
WALInsertLockAcquireExclusive
8536
XLogCheckpointNeeded
9756
assign_max_wal_size
11152
XLogFileClose
12542
GetInsertRecPtr
14974
GetXLogWriteRecPtr
15238
CalculateCheckpointSegments
15392
UpdateControlFile
18108
XLogFileInit
28246
XLogFileInitInternal
28706
GetRecoveryState
29014
show_in_hot_standby
29792
get_sync_bit
31588
XLogBackgroundFlush
33884
XLogSetReplicationSlotMinimumLSN
57656
xlog_redo
88518
XLogSetAsyncXactLSN
94214
WALReadFromBuffers
201312
UpdateMinRecoveryPoint
216840
GetWALInsertionTimeLine
219540
CheckXLogRemoved
237806
issue_xlog_fsync
315910
GetFlushRecPtr
476254
GetRedoRecPtr
590296
XLogFlush
1373820
XLogWrite
4223328
WaitXLogInsertionsToFinish
4606006
WALInsertLockUpdateInsertingAt
4960838
AdvanceXLInsertBuffer
4970410
XLogNeedsFlush
17201734
DataChecksumsEnabled
19825670
ReserveXLogInsertLocation
29118846
CopyXLogRecordToWAL
29120284
WALInsertLockAcquire
29132280
XLogInsertRecord
29135610
WALInsertLockRelease
29140816
GetFullPageWriteInfo
29419728
XLogBytePosToEndRecPtr
30023566
GetXLogBuffer
34046068
XLogBytePosToRecPtr
58245766
XLogInsertAllowed
60883128
RecoveryInProgress
176205790
Generated by:
LCOV version 1.16