LCOV - code coverage report
Current view: top level - src/backend/access/heap - heapam.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 92.0 % 2801 2577
Test Date: 2026-10-15 19:15:52 Functions: 100.0 % 80 80
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 77.9 % 2026 1578

Function Name Sort by function name Hit count Sort by function hit count
AssertHasSnapshotForToast 16794613
ConditionalMultiXactIdWait 8
Do_MultiXactIdWait 66
DoesMultiXactIdConflict 223
ExtractReplicaIdentity 4300825
FreeBulkInsertState 2926
FreezeMultiXactId 6
GetBulkInsertState 3164
GetMultiXactIdHintBits 76825
HeapCheckForSerializableConflictOut 42039391
HeapDetermineColumnsInfo 2393100
HeapTupleGetUpdateXid 159932
HeapTupleHeaderAdvanceConflictHorizon 4079368
MultiXactIdGetUpdateXid 162074
MultiXactIdWait 58
ReleaseBulkInsertStatePin 90779
UpdateXmaxHintBits 249
bitmapheap_stream_read_next 260028
bottomup_nblocksfavorable 2910
bottomup_sort_and_shrink 2910
bottomup_sort_and_shrink_cmp 256613
compute_infobits 6543226
compute_new_xmax_infomask 6674053
get_mxact_status_for_lock 115473
heap_abort_speculative 17
heap_acquire_tuplock 353
heap_attr_equals 1000488
heap_beginscan 476174
heap_delete 1908020
heap_endscan 472915
heap_fetch 2860485
heap_fetch_next_buffer 4157399
heap_finish_speculative 2236
heap_freeze_prepared_tuples 27501
heap_freeze_tuple 459286
heap_get_latest_tid 207
heap_getnext 12627755
heap_getnextslot 62051605
heap_getnextslot_tidrange 6740
heap_index_delete_tuples 7987
heap_inplace_lock 222486
heap_inplace_unlock 125110
heap_inplace_update_and_unlock 97350
heap_insert 12031376
heap_lock_tuple 762383
heap_lock_updated_tuple 2230
heap_lock_updated_tuple_rec 2228
heap_multi_insert 462121
heap_multi_insert_pages 470198
heap_pre_freeze_checks 27501
heap_prepare_freeze_tuple 13278022
heap_prepare_insert 13828856
heap_prepare_pagescan 3147326
heap_rescan 654697
heap_scan_stream_read_next_parallel 146250
heap_scan_stream_read_next_serial 4228078
heap_set_tidrange 1366
heap_setscanlimits 3273
heap_tuple_needs_eventual_freeze 148123
heap_tuple_should_freeze 8646159
heap_update 2393101
heapgettup 9492628
heapgettup_advance_block 3136555
heapgettup_continue_page 9465958
heapgettup_initial_block 1091523
heapgettup_pagemode 65193596
heapgettup_start_page 117121
index_delete_check_htid 737894
index_delete_prefetch_buffer 25736
index_delete_sort 7987
index_delete_sort_cmp 17836223
initscan 1130871
log_heap_new_cid 28284
log_heap_update 2381054
page_collect_tuples 3147326
simple_heap_delete 798965
simple_heap_insert 1101367
simple_heap_update 134992
test_lockmode_for_conflict 38777
xmax_infomask_changed 5424

Generated by: LCOV version 2.0-1