LCOV - code coverage report
Current view: top level - src/bin/pg_dump - pg_backup_archiver.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1638 1984 82.6 %
Date: 2025-04-03 19:16:07 Functions: 92 97 94.8 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ArchiveEntry 109116
CloneArchive 60
CloseArchive 464
CreateArchive 400
DeCloneArchive 60
EndLO 178
EndRestoreLO 38
EndRestoreLOs 34
InitDumpOptions 558
NewDumpOptions 110
NewRestoreOptions 536
OpenArchive 106
PrintTOCSummary 8
ProcessArchiveRestoreOptions 458
ReadHead 106
ReadInt 457584
ReadOffset 11780
ReadStr 360560
ReadToc 106
RestoreArchive 364
RestoreOutput 284
RestoringToDB 5848402
SaveOutput 372
SetArchiveOptions 872
SetOutput 284
SortTocFromFile 0
StartLO 178
StartRestoreLO 38
StartRestoreLOs 34
StrictNamesCheck 0
TocEntrySizeCompareBinaryheap 90630
TocEntrySizeCompareQsort 103150
TocIDRequired 31662
WriteData 6177126
WriteDataChunks 98
WriteDataChunksForTocEntry 1846
WriteHead 98
WriteInt 577642
WriteOffset 19032
WriteStr 454440
WriteToc 170
_allocAH 506
_becomeOwner 119230
_becomeUser 124
_disableTriggersIfNecessary 11520
_discoverArchiveFormat 86
_doSetFixedOutputState 570
_doSetSessionAuth 2
_enableTriggersIfNecessary 11518
_fileExistsInDirectory 24
_getObjectDescription 50494
_moveBefore 0
_printTableAccessMethodNoStorage 1578
_printTocEntry 107070
_reconnectToDB 172
_selectOutputSchema 119384
_selectTableAccessMethod 105492
_selectTablespace 107070
_tocEntryIsACL 107684
_tocEntryRequired 132976
_tocEntryRestorePass 282780
ahprintf 544212
ahwrite 5839978
archprintf 11328
archputs 46048
buildTocEntryArrays 426
checkSeek 158
dumpOptionsFromRestoreOptions 110
dumpTimestamp 140
dump_lo_buf 20
fix_dependencies 10
getTocEntryByDumpId 37758
has_lock_conflicts 9390
identify_locking_dependencies 7580
inhibit_data_for_failed_table 0
is_load_via_partition_root 1262
mark_create_done 14294
mark_dump_job_done 1474
mark_restore_job_done 4486
move_to_ready_heap 30
parallel_restore 4486
pending_list_append 4486
pending_list_header_init 10
pending_list_remove 4486
pop_next_work_item 4552
processEncodingEntry 106
processSearchPathEntry 106
processStdStringsEntry 106
reduce_dependencies 7580
repoint_table_dependencies 10
restore_toc_entries_parallel 10
restore_toc_entries_postfork 10
restore_toc_entries_prefork 10
restore_toc_entry 107106
sanitize_line 288062
setupRestoreWorker 24
warn_or_exit_horribly 0

Generated by: LCOV version 1.14