LCOV - code coverage report
Current view: top level - src/backend/access/heap - heapam.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 91.6 % 2800 2566
Test Date: 2026-09-04 21:15:58 Functions: 100.0 % 80 80
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 77.1 % 2026 1563

Function Name Sort by function name Hit count Sort by function hit count
AssertHasSnapshotForToast 16746256
ConditionalMultiXactIdWait 6
Do_MultiXactIdWait 61
DoesMultiXactIdConflict 218
ExtractReplicaIdentity 4313283
FreeBulkInsertState 2910
FreezeMultiXactId 6
GetBulkInsertState 3146
GetMultiXactIdHintBits 76878
HeapCheckForSerializableConflictOut 42195706
HeapDetermineColumnsInfo 2393359
HeapTupleGetUpdateXid 159954
HeapTupleHeaderAdvanceConflictHorizon 4133568
MultiXactIdGetUpdateXid 162095
MultiXactIdWait 55
ReleaseBulkInsertStatePin 90779
UpdateXmaxHintBits 285
bitmapheap_stream_read_next 260715
bottomup_nblocksfavorable 2776
bottomup_sort_and_shrink 2776
bottomup_sort_and_shrink_cmp 258452
compute_infobits 6553295
compute_new_xmax_infomask 6684060
get_mxact_status_for_lock 115531
heap_abort_speculative 16
heap_acquire_tuplock 384
heap_attr_equals 1007470
heap_beginscan 482711
heap_delete 1920269
heap_endscan 479379
heap_fetch 2863221
heap_fetch_next_buffer 4191233
heap_finish_speculative 2216
heap_freeze_prepared_tuples 27391
heap_freeze_tuple 468622
heap_get_latest_tid 207
heap_getnext 12607573
heap_getnextslot 61314416
heap_getnextslot_tidrange 6512
heap_index_delete_tuples 8205
heap_inplace_lock 231268
heap_inplace_unlock 131286
heap_inplace_update_and_unlock 99967
heap_insert 11955763
heap_lock_tuple 572065
heap_lock_updated_tuple 2231
heap_lock_updated_tuple_rec 2229
heap_multi_insert 476869
heap_multi_insert_pages 485184
heap_pre_freeze_checks 27391
heap_prepare_freeze_tuple 12809971
heap_prepare_insert 13775383
heap_prepare_pagescan 3175727
heap_rescan 655502
heap_scan_stream_read_next_parallel 146264
heap_scan_stream_read_next_serial 4263622
heap_set_tidrange 1374
heap_setscanlimits 3296
heap_tuple_needs_eventual_freeze 142137
heap_tuple_should_freeze 8407926
heap_update 2393360
heapgettup 9500207
heapgettup_advance_block 3165189
heapgettup_continue_page 9473160
heapgettup_initial_block 1098433
heapgettup_pagemode 64428418
heapgettup_start_page 117330
index_delete_check_htid 766791
index_delete_prefetch_buffer 26815
index_delete_sort 8205
index_delete_sort_cmp 17621871
initscan 1138213
log_heap_new_cid 26790
log_heap_update 2381346
page_collect_tuples 3175727
simple_heap_delete 810820
simple_heap_insert 1069881
simple_heap_update 135955
test_lockmode_for_conflict 38783
xmax_infomask_changed 5456

Generated by: LCOV version 2.0-1