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-02 20:15:43 Functions: 92 97 94.8 %
Legend: Lines: hit not hit

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

Generated by: LCOV version 1.14