LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlogrecovery.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1193 1409 84.7 %
Date: 2025-02-22 15:15:04 Functions: 68 69 98.6 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
HotStandbyActiveInReplay 0
error_multiple_recovery_targets 2
XLogRequestWalReceiverReply 4
StartupRequestWalReceiverRestart 6
recoveryPausesHere 6
ConfirmRecoveryPaused 12
checkTimeLineSwitch 22
GetRecoveryPauseState 30
GetXLogReceiptTime 58
SetPromoteIsTriggered 84
SetRecoveryPause 92
PromoteIsTriggered 104
read_tablespace_map 138
EnableStandbyMode 194
rm_redo_error_callback 202
xlog_block_info 202
xlog_outdesc 202
CheckTablespaceDirectory 216
rescanLatestTimeLine 268
GetCurrentChunkReplayStartTime 270
HotStandbyActive 312
PerformWalRecovery 412
emode_for_corrupt_record 458
GetLatestXTime 658
RecoveryRequiresIntParameter 1150
CheckPromoteSignal 1406
FinishWalRecovery 1562
ShutdownWalRecovery 1562
getRecoveryStopReason 1562
RemovePromoteSignalFiles 1634
InitWalRecovery 1668
ReadCheckpointRecord 1668
readRecoverySignalFile 1668
read_backup_label 1668
validateRecoveryParameters 1668
XLogRecoveryShmemInit 1938
assign_recovery_target 2010
assign_recovery_target_timeline 2010
assign_recovery_target_xid 2010
check_recovery_target 2010
check_recovery_target_timeline 2010
check_recovery_target_xid 2010
assign_recovery_target_time 2014
check_recovery_target_time 2014
assign_recovery_target_lsn 2020
check_recovery_target_lsn 2020
assign_recovery_target_name 2022
check_recovery_target_name 2022
check_primary_slot_name 2292
XLogFileReadAnyTLI 2532
XLogRecoveryShmemSize 5544
XLogFileRead 5810
SetCurrentChunkStartTime 10364
GetCurrentReplayRecPtr 10408
CheckForStandbyTrigger 12244
WaitForWALToBecomeAvailable 16896
WakeupRecovery 23232
SetLatestXTime 41536
GetXLogReplayRecPtr 69432
xlogrecovery_redo 81032
getRecordTimestamp 83080
XLogPageRead 2753872
verifyBackupPageConsistency 4216408
recoveryStopsAfter 5361360
ApplyWalRecord 5361364
recoveryApplyDelay 5361364
recoveryStopsBefore 5361366
CheckRecoveryConsistency 5361776
ReadRecord 5365128

Generated by: LCOV version 1.14