LCOV - code coverage report
Current view: top level - src/backend/utils/adt - ri_triggers.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 93.1 % 1079 1005
Test Date: 2026-10-29 00:16:02 Functions: 100.0 % 53 53
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 71.5 % 578 413

Function Name Sort by function name Hit count Sort by function hit count
recheck_matched_pk_tuple 7
RI_FKey_restrict_del 8
ri_GenerateQualCollation 8
RI_FKey_restrict_upd 20
RI_FKey_setnull_upd 20
RI_FKey_setdefault_upd 32
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 258
RI_FKey_check_upd 296
RI_FKey_noaction_del 301
RI_FKey_noaction_upd 351
ri_CompareWithCast 527
ri_HashCompareOp 527
ri_Check_Pk_Match 530
RI_FKey_fk_upd_check_required 670
ri_restrict 768
RI_Initial_Check 776
ri_ReportViolation 840
get_ri_constraint_root 940
ri_populate_fastpath_metadata 967
ri_HashPreparedPlan 1234
ri_PlanCheck 1234
ri_KeysEqual 1424
RI_FKey_pk_upd_check_required 1520
ri_BuildQueryKey 2521
ri_FetchPreparedPlan 2521
ri_PerformCheck 2521
quoteRelationName 2905
ri_GenerateQual 3149
RI_FKey_trigger_type 5569
quoteOneName 13031
InvalidateConstraintCacheCallBack 53766
ri_LockPKTuple 604326
build_index_scankeys 604614
ri_FastPathProbeOne 604614
ri_CheckFunctionPermissions 604618
ri_CheckPermissions 604642
ri_check_fastpath_index 604702
ri_FastPathCheck 604706
RI_FKey_check_ins 605442
ri_fastpath_is_applicable 605492
RI_FKey_check 605738
ri_CheckTrigger 606833
ri_ExtractValues 607279
ri_NullCheck 607908
ri_FetchConstraintInfo 609952
AtEOXact_RI 645878
ri_LoadConstraintInfo 1215621

Generated by: LCOV version 2.0-1