LCOV - code coverage report
Current view: top level - src/backend/utils/adt - ri_triggers.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 92.6 % 1169 1083
Test Date: 2026-04-07 14:16:30 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 312
ri_FastPathSubXactCallback 333
RI_FKey_noaction_upd 356
ri_Check_Pk_Match 522
ri_CompareWithCast 525
RI_FKey_fk_upd_check_required 668
RI_Initial_Check 765
ri_restrict 784
ri_ReportViolation 813
ri_populate_fastpath_metadata 943
get_ri_constraint_root 964
ri_HashPreparedPlan 1166
ri_PlanCheck 1166
ri_FastPathTeardown 1192
ri_KeysEqual 1423
ri_FastPathEndBatch 1477
RI_FKey_pk_upd_check_required 1532
ri_FastPathFlushLoop 1554
ri_HashCompareOp 1604
build_index_scankeys 1990
ri_FastPathProbeOne 1990
ri_BuildQueryKey 2473
ri_FetchPreparedPlan 2473
ri_PerformCheck 2473
quoteRelationName 2900
ri_GenerateQual 3107
RI_FKey_trigger_type 5787
ri_FastPathFlushArray 9533
ri_FastPathBatchFlush 11091
ri_CheckPermissions 11135
quoteOneName 13098
InvalidateConstraintCacheCallBack 58127
ri_FastPathXactCallback 73026
ri_LockPKTuple 412225
ri_FastPathBatchAdd 603630
ri_FastPathGetEntry 603630
RI_FKey_check_ins 604412
ri_fastpath_is_applicable 604464
RI_FKey_check 604706
ri_CheckTrigger 605817
ri_ExtractValues 606276
ri_NullCheck 606886
ri_FetchConstraintInfo 608935
ri_LoadConstraintInfo 611577

Generated by: LCOV version 2.0-1