LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - relcache.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GIC GNC CBC ECB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 92.5 % 2188 2023 1 164 9 42 1972 1 36
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 85 85 17 68
Baseline: lcov-20260505-025707-baseline Branches: 71.0 % 1533 1088 1 10 434 12 2 3 1071 1 5
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 45 45 42 3
(360..) days: 92.3 % 2143 1978 1 164 9 1969 1
Function coverage date bins:
(360..) days: 100.0 % 85 85 17 68
Branch coverage date bins:
(30,360] days: 83.3 % 6 5 1 3 2
(360..) days: 70.9 % 1527 1083 10 434 12 2 1069

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
load_relcache_init_file GNC 35470 80.0 % (160 / 200) 55.3 % (73 / 132)
RelationCacheInitializePhase3 CBC 16924 78.2 % (61 / 78) 51.6 % (32 / 62)
RelationSetNewRelfilenumber CBC 8231 91.8 % (56 / 61) 54.8 % (34 / 62)
RelationBuildDesc CBC 912951 91.8 % (89 / 97) 68.9 % (42 / 61)
RelationGetExclusionInfo GNC 2257 90.7 % (49 / 54) 56.8 % (25 / 44)
RelationInitPhysicalAddr CBC 3523493 93.8 % (30 / 32) 66.1 % (37 / 56)
RelationBuildPublicationDesc GNC 93255 96.7 % (88 / 91) 78.0 % (64 / 82)
write_relcache_init_file CBC 3862 86.0 % (49 / 57) 59.5 % (25 / 42)
RelationBuildLocalRelation GNC 89703 95.7 % (88 / 92) 74.6 % (47 / 63)
RelationInitIndexAccessInfo CBC 361566 91.8 % (56 / 61) 36.4 % (8 / 22)
LookupOpclassInfo CBC 609794 92.0 % (46 / 50) 63.9 % (23 / 36)
equalPolicy CBC 328 58.3 % (14 / 24) 50.0 % (13 / 26)
RelationRebuildRelation CBC 434278 92.3 % (60 / 65) 68.4 % (26 / 38)
CheckNNConstraintFetch GNC 114956 90.7 % (39 / 43) 61.5 % (16 / 26)
RelationBuildTupleDesc GNC 912739 97.6 % (80 / 82) 84.8 % (56 / 66)
RelationReloadIndexInfo CBC 75328 86.5 % (32 / 37) 58.3 % (14 / 24)
AttrDefaultFetch CBC 25053 85.7 % (24 / 28) 43.8 % (7 / 16)
RelationGetIndexAttrBitmap CBC 9636340 94.3 % (99 / 105) 85.5 % (53 / 62)
RelationCacheInvalidate CBC 3480 95.0 % (38 / 40) 85.2 % (46 / 54)
RelationClearRelation CBC 564619 100.0 % (10 / 10) 42.9 % (6 / 14)
AtEOSubXact_RelationCache CBC 12658 76.9 % (10 / 13) 50.0 % (6 / 12)
RelationForgetRelation GNC 49564 83.3 % (10 / 12) 57.1 % (8 / 14)
RelationInitTableAccessMethod CBC 1367947 94.1 % (16 / 17) 57.1 % (8 / 14)
write_item CBC 3611810 66.7 % (4 / 6) 40.0 % (4 / 10)
AssertPendingSyncConsistency CBC 285150 100.0 % (10 / 10) 80.8 % (21 / 26)
AtEOSubXact_cleanup CBC 5709 92.3 % (24 / 26) 80.8 % (21 / 26)
RelationGetIdentityKeyBitmap CBC 345 96.0 % (24 / 25) 72.2 % (13 / 18)
AtEOXact_cleanup CBC 105260 94.1 % (16 / 17) 66.7 % (8 / 12)
IndexSupportInitialize CBC 361564 90.9 % (10 / 11) 50.0 % (4 / 8)
RelationDestroyRelation CBC 828920 97.8 % (45 / 46) 88.2 % (30 / 34)
equalRuleLocks CBC 264292 83.3 % (20 / 24) 81.8 % (18 / 22)
RelationBuildRuleLock CBC 25352 100.0 % (54 / 54) 86.4 % (19 / 22)
RelationGetDummyIndexExpressions CBC 154 100.0 % (15 / 15) 75.0 % (9 / 12)
RelationIdGetRelation CBC 26860486 100.0 % (16 / 16) 83.3 % (15 / 18)
RelationReloadNailed CBC 94654 100.0 % (14 / 14) 62.5 % (5 / 8)
ScanPgRelation CBC 1008073 94.4 % (17 / 18) 78.6 % (11 / 14)
equalRSDesc CBC 264292 92.9 % (13 / 14) 90.0 % (27 / 30)
load_critical_index CBC 21654 91.7 % (11 / 12) 25.0 % (1 / 4)
unlink_initfile CBC 54863 80.0 % (4 / 5) 50.0 % (3 / 6)
AtEOXact_RelationCache CBC 424471 100.0 % (23 / 23) 88.9 % (16 / 18)
RelationCacheInitFilePreInvalidate CBC 25175 100.0 % (9 / 9) 50.0 % (2 / 4)
RelationGetIndexAttOptions GNC 1643109 95.7 % (22 / 23) 88.9 % (16 / 18)
RelationGetIndexExpressions CBC 3001546 100.0 % (17 / 17) 75.0 % (6 / 8)
RelationGetIndexPredicate CBC 3001409 100.0 % (19 / 19) 75.0 % (6 / 8)
errtablecol CBC 405 83.3 % (5 / 6) 50.0 % (2 / 4)
formrdesc GNC 20620 100.0 % (56 / 56) 83.3 % (10 / 12)
AssertCouldGetRelation CBC 143618045 100.0 % (4 / 4) 50.0 % (1 / 2)
AssertPendingSyncs_RelationCache GNC 1944 96.2 % (25 / 26) 92.9 % (13 / 14)
RelationCacheInitialize CBC 18660 100.0 % (12 / 12) 50.0 % (1 / 2)
RelationCloseCleanup CBC 26955149 88.9 % (8 / 9) 90.0 % (9 / 10)
RelationDecrementReferenceCount CBC 39476354 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationGetIndexList CBC 1588038 100.0 % (47 / 47) 96.9 % (31 / 32)
RelationGetPrimaryKeyIndex CBC 410 100.0 % (10 / 10) 87.5 % (7 / 8)
RelationGetReplicaIndex CBC 238578 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationIdIsInInitFile CBC 1590495 100.0 % (7 / 7) 90.0 % (9 / 10)
RememberToFreeTupleDescAtEOX CBC 15803 100.0 % (14 / 14) 83.3 % (5 / 6)
ResOwnerReleaseRelation GNC 32190 100.0 % (6 / 6) 50.0 % (1 / 2)
BuildHardcodedDescriptor GNC 33844 100.0 % (11 / 11) 100.0 % (2 / 2)
CopyIndexAttOptions GNC 945430 100.0 % (7 / 7) 100.0 % (4 / 4)
GetPgClassDescriptor CBC 991877 100.0 % (4 / 4) 100.0 % (2 / 2)
GetPgIndexDescriptor CBC 1119738 100.0 % (4 / 4) 100.0 % (2 / 2)
RelationAssumeNewRelfilelocator CBC 10031 100.0 % (6 / 6) 100.0 % (4 / 4)
RelationCacheInitFileRemove CBC 1079 100.0 % (13 / 13) 100.0 % (4 / 4)
RelationCacheInitFileRemoveInDir CBC 1140 100.0 % (9 / 9) 100.0 % (4 / 4)
RelationCacheInitializePhase2 CBC 18660 100.0 % (12 / 12) 100.0 % (4 / 4)
RelationCacheInvalidateEntry GNC 2166018 100.0 % (9 / 9) 100.0 % (8 / 8)
RelationFlushRelation CBC 532923 100.0 % (16 / 16) 100.0 % (16 / 16)
RelationGetFKeyList CBC 194602 100.0 % (30 / 30) 100.0 % (6 / 6)
RelationGetStatExtList CBC 374898 100.0 % (20 / 20) 100.0 % (4 / 4)
RelationIncrementReferenceCount CBC 39508544 100.0 % (6 / 6) 100.0 % (2 / 2)
RelationInvalidateRelation CBC 1082463 100.0 % (7 / 7) 100.0 % (2 / 2)
RelationParseRelOptions GNC 1002714 100.0 % (16 / 16) 100.0 % (5 / 5)
AllocateRelationDesc GNC 912739 100.0 % (11 / 11)
AttrDefaultCmp CBC 10845 100.0 % (4 / 4)
CheckConstraintCmp CBC 6850 100.0 % (4 / 4)
InitIndexAmRoutine GNC 1787112 100.0 % (5 / 5)
InitTableAmRoutine CBC 1367947 100.0 % (3 / 3)
RelationCacheInitFilePostInvalidate CBC 25175 100.0 % (3 / 3)
RelationClose CBC 26922959 100.0 % (4 / 4)
ResOwnerPrintRelCache CBC 5 100.0 % (3 / 3)
ResourceOwnerForgetRelationRef CBC 39120029 100.0 % (3 / 3)
ResourceOwnerRememberRelationRef CBC 39152219 100.0 % (3 / 3)
errtable CBC 2553 100.0 % (5 / 5)
errtablecolname CBC 405 100.0 % (4 / 4)
errtableconstraint CBC 1809 100.0 % (4 / 4)

Generated by: LCOV version 2.5.0-beta