LCOV - code coverage report
Current view: top level - src/bin/pg_dump - pg_backup_archiver.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 82.2 % 2045 1681
Test Date: 2026-11-30 16:16:11 Functions: 94.8 % 96 91
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 68.8 % 1517 1043

Function Name Sort by function name Hit count Sort by function hit count
SortTocFromFile 0
StrictNamesCheck 0
_moveBefore 0
inhibit_data_for_failed_table 0
warn_or_exit_horribly 0
_doSetSessionAuth 1
PrintTOCSummary 4
fix_dependencies 6
pending_list_header_init 6
repoint_table_dependencies 6
restore_toc_entries_parallel 6
restore_toc_entries_postfork 6
restore_toc_entries_prefork 6
dump_lo_buf 10
setupRestoreWorker 14
EndRestoreLO 16
EndRestoreLOs 16
StartRestoreLO 16
StartRestoreLOs 16
_fileExistsInDirectory 16
move_to_ready_heap 18
is_load_via_partition_root 24
CloneArchive 30
DeCloneArchive 30
mark_restore_job_done 64
parallel_restore 64
pending_list_append 64
pending_list_remove 64
_discoverArchiveFormat 66
mark_dump_job_done 72
WriteDataChunks 73
WriteHead 73
OpenArchive 81
ReadHead 81
ReadToc 81
processEncodingEntry 81
processSearchPathEntry 81
processStdStringsEntry 81
_becomeUser 84
EndLO 85
NewDumpOptions 85
StartLO 85
dumpOptionsFromRestoreOptions 85
WriteToc 86
pop_next_work_item 96
_reconnectToDB 114
dumpTimestamp 114
checkSeek 127
identify_locking_dependencies 142
reduce_dependencies 142
RestoreOutput 163
SetOutput 165
has_lock_conflicts 180
TocEntrySizeCompareBinaryheap 187
RestoreArchive 223
SaveOutput 227
CreateArchive 235
buildTocEntryArrays 270
ProcessArchiveRestoreOptions 292
CloseArchive 293
_allocAH 316
NewRestoreOptions 339
InitDumpOptions 345
_doSetFixedOutputState 357
TocEntrySizeCompareQsort 466
WriteDataChunksForTocEntry 477
SetArchiveOptions 538
_printTableAccessMethodNoStorage 617
archprintf 4453
_enableTriggersIfNecessary 4522
_disableTriggersIfNecessary 4525
mark_create_done 5727
ReadOffset 6930
WriteOffset 8614
TocIDRequired 11725
getTocEntryByDumpId 12353
_getObjectDescription 21337
archputs 24626
_selectTableAccessMethod 41691
_printTocEntry 42308
_selectTablespace 42308
restore_toc_entry 42331
_tocEntryIsACL 42662
ArchiveEntry 44192
_becomeOwner 47452
_selectOutputSchema 47526
_tocEntryRequired 53170
_tocEntryRestorePass 110202
ReadStr 132965
WriteStr 149382
ReadInt 170149
WriteInt 191533
ahprintf 227280
WriteData 1847617
ahwrite 2048699
RestoringToDB 2051087

Generated by: LCOV version 2.0-1