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 %
2509
2226
Test Date:
2026-03-17 12:14:47
Functions:
97.6 %
126
123
Legend:
Lines:    
hit
not hit
Function Name
Hit count
AdvanceXLInsertBuffer
2565154
BootStrapXLOG
51
CalculateCheckpointSegments
8342
CheckPointGuts
1822
CheckRequiredParameterValues
262
CheckXLogRemoved
131032
CheckpointFlagsString
3048
CleanupAfterArchiveRecovery
55
CleanupBackupHistory
158
CopyXLogRecordToWAL
16273523
CreateCheckPoint
1619
CreateEndOfRecoveryRecord
48
CreateOverwriteContrecordRecord
11
CreateRestartPoint
603
DataChecksumsEnabled
2886613
GetActiveWalLevelOnStandby
0
GetDefaultCharSignedness
4
GetFakeLSNForUnloggedRel
201449
GetFlushRecPtr
209448
GetFullPageWriteInfo
16431226
GetInsertRecPtr
6512
GetLastImportantRecPtr
1663
GetLastSegSwitchData
0
GetMockAuthenticationNonce
2
GetOldestRestartPoint
387
GetRecoveryState
36521
GetRedoRecPtr
306105
GetSystemIdentifier
1519
GetWALAvailability
637
GetWALInsertionTimeLine
118712
GetWALInsertionTimeLineIfSet
1
GetXLogBuffer
18848263
GetXLogInsertEndRecPtr
2521
GetXLogInsertRecPtr
2029
GetXLogWriteRecPtr
7893
InitControlFile
51
InitializeWalConsistencyChecking
1010
InstallXLogFileSegment
3075
IsInstallXLogFileSegmentActive
0
KeepLogSeg
2433
LocalProcessControlFile
1020
LocalSetXLogInsertAllowed
985
LogCheckpointEnd
1822
LogCheckpointStart
1524
PerformRecoveryXLogAction
163
PreallocXlogFiles
2098
ReachedEndOfBackup
80
ReadControlFile
1071
RecoveryInProgress
85560481
RecoveryRestartPoint
734
RemoveNonParentXlogFiles
66
RemoveOldXlogFiles
1822
RemoveTempXlogFiles
186
RemoveXlogFile
2550
RequestXLogSwitch
805
ReserveXLogInsertLocation
16272777
ReserveXLogSwitch
805
ResetInstallXLogFileSegmentActive
1161
SetInstallXLogFileSegmentActive
1200
SetWalWriterSleeping
564
ShutdownXLOG
707
StartupXLOG
1020
SwitchIntoArchiveRecovery
1
UpdateCheckPointDistanceEstimate
1822
UpdateControlFile
9665
UpdateFullPageWrites
1615
UpdateLastRemovedPtr
2534
UpdateMinRecoveryPoint
109895
ValidateXLOGDirectoryStructure
1020
WALInsertLockAcquire
16280047
WALInsertLockAcquireExclusive
4578
WALInsertLockRelease
16284625
WALInsertLockUpdateInsertingAt
2560787
WALReadFromBuffers
105182
WaitXLogInsertionsToFinish
2370252
WriteControlFile
51
XLOGChooseNumBuffers
1163
XLOGShmemInit
1165
XLOGShmemSize
3342
XLOGfileslop
1822
XLogAssignLSN
343
XLogBackgroundFlush
14785
XLogBytePosToEndRecPtr
16738571
XLogBytePosToRecPtr
32549754
XLogCheckpointNeeded
4938
XLogFileClose
6680
XLogFileCopy
43
XLogFileInit
15154
XLogFileInitInternal
15360
XLogFileOpen
83
XLogFlush
724511
XLogGetLastRemovedSegno
1257
XLogGetOldestSegno
7
XLogGetReplicationSlotMinimumLSN
2441
XLogInitNewTimeline
55
XLogInsertAllowed
43181199
XLogInsertRecord
16281777
XLogNeedsFlush
9250518
XLogPutNextOid
645
XLogRecPtrToBytePos
2656
XLogReportParameters
955
XLogRestorePoint
3
XLogSetAsyncXactLSN
52773
XLogSetReplicationSlotMinimumLSN
38963
XLogShutdownWalRcv
1017
XLogWrite
2222178
assign_checkpoint_completion_target
1199
assign_max_wal_size
6072
assign_wal_consistency_checking
2182
assign_wal_sync_method
1199
check_wal_buffers
2362
check_wal_consistency_checking
2183
check_wal_segment_size
2322
do_pg_abort_backup
8
do_pg_backup_start
173
do_pg_backup_stop
166
get_backup_status
193
get_sync_bit
16922
issue_xlog_fsync
175401
register_persistent_abort_backup_handler
4
show_archive_command
1789
show_effective_wal_level
1818
show_in_hot_standby
16196
str_time
908
update_checkpoint_display
3644
xlog_redo
106828
Generated by:
LCOV version 2.0-1