LCOV - code coverage report
Current view: top level - src/bin/pg_dump - pg_backup_archiver.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 81.2 % 2036 1653
Test Date: 2026-03-16 07:14:48 Functions: 94.8 % 96 91
Legend: Lines:     hit not hit

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 4
pending_list_header_init 4
repoint_table_dependencies 4
restore_toc_entries_parallel 4
restore_toc_entries_postfork 4
restore_toc_entries_prefork 4
dump_lo_buf 10
setupRestoreWorker 10
move_to_ready_heap 12
EndRestoreLO 16
EndRestoreLOs 16
StartRestoreLO 16
StartRestoreLOs 16
is_load_via_partition_root 16
CloneArchive 26
DeCloneArchive 26
mark_restore_job_done 46
parallel_restore 46
pending_list_append 46
pending_list_remove 46
_fileExistsInDirectory 64
mark_dump_job_done 69
pop_next_work_item 69
_becomeUser 78
EndLO 81
StartLO 81
dumpTimestamp 82
identify_locking_dependencies 96
reduce_dependencies 96
_discoverArchiveFormat 125
processEncodingEntry 137
processSearchPathEntry 137
processStdStringsEntry 137
WriteDataChunks 139
WriteHead 139
TocEntrySizeCompareBinaryheap 141
OpenArchive 148
ReadHead 148
ReadToc 148
has_lock_conflicts 150
NewDumpOptions 158
dumpOptionsFromRestoreOptions 158
checkSeek 159
WriteToc 166
_reconnectToDB 192
RestoreOutput 235
SetOutput 235
RestoreArchive 282
SaveOutput 285
CreateArchive 287
buildTocEntryArrays 368
NewRestoreOptions 407
TocEntrySizeCompareQsort 409
ProcessArchiveRestoreOptions 411
CloseArchive 413
_allocAH 435
WriteDataChunksForTocEntry 482
_doSetFixedOutputState 487
InitDumpOptions 522
_printTableAccessMethodNoStorage 572
SetArchiveOptions 721
archprintf 4261
_enableTriggersIfNecessary 4401
_disableTriggersIfNecessary 4402
mark_create_done 5529
ReadOffset 6270
WriteOffset 7472
TocIDRequired 10463
getTocEntryByDumpId 10578
_getObjectDescription 21006
archputs 24430
_selectTableAccessMethod 41194
_printTocEntry 41766
_selectTablespace 41766
restore_toc_entry 41781
_tocEntryIsACL 42108
ArchiveEntry 43189
_becomeOwner 46542
_selectOutputSchema 46616
_tocEntryRequired 51851
_tocEntryRestorePass 107922
ReadStr 127351
WriteStr 138288
ReadInt 163813
WriteInt 178032
ahprintf 226564
WriteData 1839561
ahwrite 2040210
RestoringToDB 2042412

Generated by: LCOV version 2.0-1