LCOV - code coverage report
Current view: top level - src/backend/utils/adt - ri_triggers.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19beta1 Lines: 92.6 % 1170 1083
Test Date: 2026-06-06 03:16:18 Functions: 100.0 % 59 59
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
recheck_matched_pk_tuple 2
RI_FKey_restrict_del 8
ri_GenerateQualCollation 8
RI_FKey_restrict_upd 20
RI_FKey_setnull_upd 20
RI_FKey_setdefault_upd 32
ri_FastPathCheck 44
RI_FKey_setdefault_del 56
RI_FKey_setnull_del 65
RI_PartitionRemove_Check 65
RI_FKey_cascade_del 98
RI_FKey_cascade_upd 144
ri_set 173
ri_InitHashTables 264
RI_FKey_check_upd 294
RI_FKey_noaction_del 313
ri_FastPathSubXactCallback 347
RI_FKey_noaction_upd 356
ri_Check_Pk_Match 523
ri_CompareWithCast 525
RI_FKey_fk_upd_check_required 668
RI_Initial_Check 765
ri_restrict 785
ri_ReportViolation 821
ri_populate_fastpath_metadata 951
get_ri_constraint_root 964
ri_HashPreparedPlan 1163
ri_PlanCheck 1163
ri_FastPathTeardown 1204
ri_KeysEqual 1423
ri_FastPathEndBatch 1497
RI_FKey_pk_upd_check_required 1533
ri_FastPathFlushLoop 1572
ri_HashCompareOp 1624
build_index_scankeys 2008
ri_FastPathProbeOne 2008
ri_BuildQueryKey 2475
ri_FetchPreparedPlan 2475
ri_PerformCheck 2475
quoteRelationName 2897
ri_GenerateQual 3104
RI_FKey_trigger_type 5788
ri_FastPathFlushArray 9533
ri_FastPathBatchFlush 11109
ri_CheckPermissions 11153
quoteOneName 13087
InvalidateConstraintCacheCallBack 57153
ri_FastPathXactCallback 73709
ri_LockPKTuple 412235
ri_FastPathBatchAdd 603651
ri_FastPathGetEntry 603651
RI_FKey_check_ins 604433
ri_fastpath_is_applicable 604485
RI_FKey_check 604727
ri_CheckTrigger 605839
ri_ExtractValues 606296
ri_NullCheck 606908
ri_FetchConstraintInfo 608958
ri_LoadConstraintInfo 611626

Generated by: LCOV version 2.0-1