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.4 % 2037 1658
Test Date: 2026-04-07 14:16:30 Functions: 94.8 % 96 91
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
ArchiveEntry 44416
CloneArchive 26
CloseArchive 417
CreateArchive 289
DeCloneArchive 26
EndLO 81
EndRestoreLO 16
EndRestoreLOs 16
InitDumpOptions 528
NewDumpOptions 160
NewRestoreOptions 413
OpenArchive 150
PrintTOCSummary 4
ProcessArchiveRestoreOptions 415
ReadHead 150
ReadInt 169226
ReadOffset 6542
ReadStr 131622
ReadToc 150
RestoreArchive 284
RestoreOutput 235
RestoringToDB 2057642
SaveOutput 287
SetArchiveOptions 727
SetOutput 235
SortTocFromFile 0
StartLO 81
StartRestoreLO 16
StartRestoreLOs 16
StrictNamesCheck 0
TocEntrySizeCompareBinaryheap 139
TocEntrySizeCompareQsort 409
TocIDRequired 11028
WriteData 1848876
WriteDataChunks 141
WriteDataChunksForTocEntry 484
WriteHead 141
WriteInt 183479
WriteOffset 7748
WriteStr 142585
WriteToc 168
_allocAH 439
_becomeOwner 47996
_becomeUser 78
_disableTriggersIfNecessary 4631
_discoverArchiveFormat 127
_doSetFixedOutputState 493
_doSetSessionAuth 1
_enableTriggersIfNecessary 4630
_fileExistsInDirectory 64
_getObjectDescription 21742
_moveBefore 0
_printTableAccessMethodNoStorage 592
_printTocEntry 42985
_reconnectToDB 196
_selectOutputSchema 48070
_selectTableAccessMethod 42393
_selectTablespace 42985
_tocEntryIsACL 43328
_tocEntryRequired 53358
_tocEntryRestorePass 111474
ahprintf 232257
ahwrite 2055218
archprintf 4490
archputs 24430
buildTocEntryArrays 371
checkSeek 163
dumpOptionsFromRestoreOptions 160
dumpTimestamp 86
dump_lo_buf 10
fix_dependencies 4
getTocEntryByDumpId 11143
has_lock_conflicts 146
identify_locking_dependencies 96
inhibit_data_for_failed_table 0
is_load_via_partition_root 16
mark_create_done 5829
mark_dump_job_done 69
mark_restore_job_done 46
move_to_ready_heap 12
parallel_restore 46
pending_list_append 46
pending_list_header_init 4
pending_list_remove 46
pop_next_work_item 70
processEncodingEntry 139
processSearchPathEntry 139
processStdStringsEntry 139
reduce_dependencies 96
repoint_table_dependencies 4
restore_toc_entries_parallel 4
restore_toc_entries_postfork 4
restore_toc_entries_prefork 4
restore_toc_entry 43000
setupRestoreWorker 10
warn_or_exit_horribly 0

Generated by: LCOV version 2.0-1