LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - relcache.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 92.3 % 2210 2040 2 168 22 2018 9
Current Date: 2026-11-05 14:14:01 +0100 Functions: 98.8 % 86 85 1 7 78
Baseline: lcov-20261105-baseline Branches: 71.0 % 1551 1101 6 1 443 8 1093
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 95.3 % 64 61 2 1 22 39
(360..) days: 92.2 % 2145 1978 167 1978
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 98.8 % 85 84 1 6 78
Branch coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 61.1 % 18 11 6 1 8 3
(360..) days: 71.1 % 1531 1088 1 442 1088

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
ResOwnerPrintRelCache UBC 0 0.0 % (0 / 3)
RelationGetDummyIndexExpressions CBC 152 100.0 % (15 / 15) 75.0 % (9 / 12)
RelationGetPrimaryKeyIndex CBC 243 100.0 % (10 / 10) 87.5 % (7 / 8)
equalPolicy CBC 264 57.7 % (15 / 26) 50.0 % (14 / 28)
RelationGetIdentityKeyBitmap CBC 365 96.0 % (24 / 25) 72.2 % (13 / 18)
errtablecol CBC 406 83.3 % (5 / 6) 50.0 % (2 / 4)
errtablecolname CBC 406 100.0 % (4 / 4)
RelationCacheInitFileRemove CBC 1127 100.0 % (13 / 13) 100.0 % (4 / 4)
RelationCacheInitFileRemoveInDir CBC 1188 100.0 % (9 / 9) 100.0 % (4 / 4)
RelationGetExclusionInfo CBC 1519 90.7 % (49 / 54) 56.8 % (25 / 44)
errtableconstraint CBC 1857 100.0 % (4 / 4)
AssertPendingSyncs_RelationCache GNC 1928 96.2 % (25 / 26) 92.9 % (13 / 14)
errtable CBC 2604 100.0 % (5 / 5)
RelationCacheInvalidate CBC 3577 97.5 % (39 / 40) 87.0 % (47 / 54)
write_relcache_init_file CBC 3866 86.0 % (49 / 57) 59.5 % (25 / 42)
CheckConstraintCmp CBC 6038 100.0 % (4 / 4)
AtEOSubXact_cleanup CBC 6459 92.3 % (24 / 26) 80.8 % (21 / 26)
RelationSetNewRelfilenumber CBC 8242 91.8 % (56 / 61) 54.8 % (34 / 62)
AttrDefaultCmp CBC 9760 100.0 % (4 / 4)
RelationAssumeNewRelfilelocator CBC 10233 100.0 % (6 / 6) 100.0 % (4 / 4)
RememberToFreeTupleDescAtEOX GNC 14860 100.0 % (14 / 14) 83.3 % (5 / 6)
RelationCacheInitializePhase3 CBC 18033 78.8 % (63 / 80) 51.6 % (32 / 62)
RelationCacheInitialize CBC 19712 100.0 % (12 / 12) 50.0 % (1 / 2)
RelationCacheInitializePhase2 CBC 19712 100.0 % (13 / 13) 100.0 % (4 / 4)
AtEOSubXact_RelationCache CBC 23003 76.9 % (10 / 13) 50.0 % (6 / 12)
formrdesc CBC 23264 100.0 % (56 / 56) 83.3 % (10 / 12)
AttrDefaultFetch CBC 23875 85.7 % (24 / 28) 43.8 % (7 / 16)
RelationCacheInitFilePostInvalidate CBC 24207 100.0 % (3 / 3)
RelationCacheInitFilePreInvalidate CBC 24207 100.0 % (9 / 9) 50.0 % (2 / 4)
load_critical_index CBC 24472 91.7 % (11 / 12) 25.0 % (1 / 4)
RelationBuildRuleLock GNC 24847 100.0 % (54 / 54) 86.4 % (19 / 22)
ResOwnerReleaseRelation CBC 32325 100.0 % (6 / 6) 50.0 % (1 / 2)
BuildHardcodedDescriptor CBC 36061 100.0 % (11 / 11) 100.0 % (2 / 2)
load_relcache_init_file GNC 37627 80.1 % (161 / 201) 55.3 % (73 / 132)
RelationGetToastChunkIdType GNC 42323 84.6 % (11 / 13) 57.1 % (8 / 14)
RelationForgetRelation CBC 48388 83.3 % (10 / 12) 57.1 % (8 / 14)
unlink_initfile CBC 53137 80.0 % (4 / 5) 50.0 % (3 / 6)
RelationReloadIndexInfo CBC 75412 86.5 % (32 / 37) 58.3 % (14 / 24)
RelationBuildLocalRelation CBC 87664 95.7 % (88 / 92) 74.6 % (47 / 63)
RelationReloadNailed CBC 92283 100.0 % (14 / 14) 62.5 % (5 / 8)
RelationBuildPublicationDesc CBC 92787 96.7 % (89 / 92) 78.6 % (66 / 84)
RelationGetReplicaIndex CBC 93952 100.0 % (6 / 6) 75.0 % (3 / 4)
AtEOXact_cleanup CBC 102804 94.1 % (16 / 17) 66.7 % (8 / 12)
CheckNNConstraintFetch CBC 110096 90.7 % (39 / 43) 61.5 % (16 / 26)
RelationGetFKeyList CBC 200921 100.0 % (30 / 30) 100.0 % (6 / 6)
equalRSDesc CBC 256510 92.9 % (13 / 14) 90.0 % (27 / 30)
equalRuleLocks CBC 256510 83.3 % (20 / 24) 81.8 % (18 / 22)
AssertPendingSyncConsistency CBC 264744 100.0 % (10 / 10) 80.8 % (21 / 26)
IndexSupportInitialize CBC 348975 90.9 % (10 / 11) 50.0 % (4 / 8)
RelationInitIndexAccessInfo CBC 348979 91.8 % (56 / 61) 36.4 % (8 / 22)
RelationGetStatExtList CBC 376190 100.0 % (20 / 20) 100.0 % (4 / 4)
RelationRebuildRelation GNC 424209 92.3 % (60 / 65) 68.4 % (26 / 38)
AtEOXact_RelationCache CBC 430385 100.0 % (23 / 23) 88.9 % (16 / 18)
RelationFlushRelation CBC 523634 100.0 % (16 / 16) 100.0 % (16 / 16)
RelationClearRelation CBC 527583 100.0 % (10 / 10) 42.9 % (6 / 14)
LookupOpclassInfo CBC 591568 92.0 % (46 / 50) 63.9 % (23 / 36)
RelationDestroyRelation CBC 784109 97.8 % (45 / 46) 88.2 % (30 / 34)
AllocateRelationDesc CBC 881402 100.0 % (11 / 11)
RelationBuildTupleDesc CBC 881402 97.6 % (80 / 82) 84.8 % (56 / 66)
RelationBuildDesc GNC 881594 91.8 % (90 / 98) 68.9 % (42 / 61)
CopyIndexAttOptions CBC 939035 100.0 % (7 / 7) 100.0 % (4 / 4)
GetPgClassDescriptor CBC 962135 100.0 % (4 / 4) 100.0 % (2 / 2)
RelationParseRelOptions CBC 972821 100.0 % (16 / 16) 100.0 % (5 / 5)
ScanPgRelation CBC 978110 94.7 % (18 / 19) 78.6 % (11 / 14)
RelationInvalidateRelation CBC 1049703 100.0 % (7 / 7) 100.0 % (2 / 2)
GetPgIndexDescriptor CBC 1081897 100.0 % (4 / 4) 100.0 % (2 / 2)
InitTableAmRoutine CBC 1332359 100.0 % (3 / 3)
RelationInitTableAccessMethod CBC 1332359 94.1 % (16 / 17) 57.1 % (8 / 14)
RelationIdIsInInitFile CBC 1531046 100.0 % (7 / 7) 90.0 % (9 / 10)
RelationGetIndexList CBC 1531165 100.0 % (47 / 47) 96.9 % (31 / 32)
RelationGetIndexAttOptions CBC 1662353 95.7 % (22 / 23) 88.9 % (16 / 18)
InitIndexAmRoutine CBC 1747491 100.0 % (5 / 5)
RelationCacheInvalidateEntry CBC 1989761 100.0 % (9 / 9) 100.0 % (8 / 8)
RelationGetIndexPredicate CBC 2876196 100.0 % (19 / 19) 75.0 % (6 / 8)
RelationGetIndexExpressions CBC 2876643 100.0 % (17 / 17) 75.0 % (6 / 8)
write_item CBC 3335500 66.7 % (4 / 6) 40.0 % (4 / 10)
RelationInitPhysicalAddr CBC 3455202 93.8 % (30 / 32) 69.6 % (39 / 56)
RelationGetIndexAttrBitmap CBC 9650768 94.3 % (99 / 105) 83.9 % (52 / 62)
RelationIdGetRelation CBC 26862648 100.0 % (16 / 16) 83.3 % (15 / 18)
RelationClose CBC 26923108 100.0 % (4 / 4)
RelationCloseCleanup CBC 26955433 88.9 % (8 / 9) 90.0 % (9 / 10)
ResourceOwnerForgetRelationRef CBC 39274931 100.0 % (3 / 3)
ResourceOwnerRememberRelationRef CBC 39307256 100.0 % (3 / 3)
RelationDecrementReferenceCount CBC 39616571 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationIncrementReferenceCount CBC 39648896 100.0 % (6 / 6) 100.0 % (2 / 2)
AssertCouldGetRelation CBC 142392680 100.0 % (4 / 4) 50.0 % (1 / 2)

Generated by: LCOV version 2.0-1