LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - relcache.c (source / functions) Coverage Total Hit LBC UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 92.6 % 2197 2034 163 2034
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 86 86 86
Baseline: lcov-20260726-baseline Branches: 71.1 % 1535 1092 1 442 1092
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 50.0 % 2 1 1 1
(30,360] days: 100.0 % 48 48 48
(360..) days: 92.5 % 2147 1985 162 1985
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 85 85 85
Branch coverage date bins:
(7,30] days: 50.0 % 2 1 1 1
(30,360] days: 75.0 % 4 3 1 3
(360..) days: 71.2 % 1529 1088 1 440 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
load_relcache_init_file CBC 35486 80.0 % (160 / 200) 55.3 % (73 / 132)
RelationCacheInitializePhase3 CBC 17018 78.8 % (63 / 80) 51.6 % (32 / 62)
RelationSetNewRelfilenumber CBC 8395 91.8 % (56 / 61) 54.8 % (34 / 62)
RelationBuildDesc CBC 915253 91.8 % (89 / 97) 68.9 % (42 / 61)
RelationGetExclusionInfo CBC 2295 90.7 % (49 / 54) 56.8 % (25 / 44)
RelationInitPhysicalAddr CBC 3552676 93.8 % (30 / 32) 66.1 % (37 / 56)
RelationBuildPublicationDesc CBC 93399 96.7 % (88 / 91) 78.0 % (64 / 82)
RelationBuildLocalRelation CBC 90524 95.7 % (88 / 92) 74.6 % (47 / 63)
write_relcache_init_file CBC 3832 87.7 % (50 / 57) 61.9 % (26 / 42)
RelationInitIndexAccessInfo CBC 361128 91.8 % (56 / 61) 36.4 % (8 / 22)
equalPolicy CBC 376 57.7 % (15 / 26) 50.0 % (14 / 28)
LookupOpclassInfo CBC 609506 92.0 % (46 / 50) 63.9 % (23 / 36)
RelationRebuildRelation CBC 438820 92.3 % (60 / 65) 68.4 % (26 / 38)
CheckNNConstraintFetch CBC 116231 90.7 % (39 / 43) 61.5 % (16 / 26)
RelationBuildTupleDesc CBC 915030 97.6 % (80 / 82) 84.8 % (56 / 66)
RelationReloadIndexInfo CBC 77077 86.5 % (32 / 37) 58.3 % (14 / 24)
AttrDefaultFetch CBC 25781 85.7 % (24 / 28) 43.8 % (7 / 16)
RelationGetIndexAttrBitmap CBC 9618834 94.3 % (99 / 105) 85.5 % (53 / 62)
RelationClearRelation CBC 563260 100.0 % (10 / 10) 42.9 % (6 / 14)
AtEOSubXact_RelationCache CBC 12676 76.9 % (10 / 13) 50.0 % (6 / 12)
RelationCacheInvalidate CBC 3480 100.0 % (40 / 40) 88.9 % (48 / 54)
RelationForgetRelation CBC 50682 83.3 % (10 / 12) 57.1 % (8 / 14)
RelationInitTableAccessMethod CBC 1375612 94.1 % (16 / 17) 57.1 % (8 / 14)
write_item CBC 3570466 66.7 % (4 / 6) 40.0 % (4 / 10)
AssertPendingSyncConsistency CBC 284725 100.0 % (10 / 10) 80.8 % (21 / 26)
AtEOSubXact_cleanup CBC 5701 92.3 % (24 / 26) 80.8 % (21 / 26)
RelationGetIdentityKeyBitmap CBC 341 96.0 % (24 / 25) 72.2 % (13 / 18)
AtEOXact_cleanup CBC 106147 94.1 % (16 / 17) 66.7 % (8 / 12)
IndexSupportInitialize CBC 361127 90.9 % (10 / 11) 50.0 % (4 / 8)
RelationDestroyRelation CBC 830859 97.8 % (45 / 46) 88.2 % (30 / 34)
equalRuleLocks CBC 267576 83.3 % (20 / 24) 81.8 % (18 / 22)
RelationBuildRuleLock CBC 25036 100.0 % (54 / 54) 86.4 % (19 / 22)
RelationGetDummyIndexExpressions CBC 155 100.0 % (15 / 15) 75.0 % (9 / 12)
RelationIdGetRelation CBC 26671727 100.0 % (16 / 16) 83.3 % (15 / 18)
RelationReloadNailed CBC 94163 100.0 % (14 / 14) 62.5 % (5 / 8)
ScanPgRelation CBC 1012919 94.7 % (18 / 19) 78.6 % (11 / 14)
equalRSDesc CBC 267576 92.9 % (13 / 14) 90.0 % (27 / 30)
load_critical_index CBC 24405 91.7 % (11 / 12) 25.0 % (1 / 4)
unlink_initfile CBC 55383 80.0 % (4 / 5) 50.0 % (3 / 6)
AtEOXact_RelationCache CBC 429884 100.0 % (23 / 23) 88.9 % (16 / 18)
RelationCacheInitFilePreInvalidate CBC 25472 100.0 % (9 / 9) 50.0 % (2 / 4)
RelationGetIndexAttOptions CBC 1631571 95.7 % (22 / 23) 88.9 % (16 / 18)
RelationGetIndexExpressions CBC 2935301 100.0 % (17 / 17) 75.0 % (6 / 8)
RelationGetIndexPredicate CBC 2935164 100.0 % (19 / 19) 75.0 % (6 / 8)
errtablecol CBC 406 83.3 % (5 / 6) 50.0 % (2 / 4)
formrdesc CBC 22846 100.0 % (56 / 56) 83.3 % (10 / 12)
AssertCouldGetRelation CBC 142505085 100.0 % (4 / 4) 50.0 % (1 / 2)
AssertPendingSyncs_RelationCache CBC 1936 96.2 % (25 / 26) 92.9 % (13 / 14)
RelationCacheInitialize CBC 18580 100.0 % (12 / 12) 50.0 % (1 / 2)
RelationCloseCleanup CBC 26767272 88.9 % (8 / 9) 90.0 % (9 / 10)
RelationDecrementReferenceCount CBC 39357576 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationGetIndexList CBC 1553872 100.0 % (47 / 47) 96.9 % (31 / 32)
RelationGetPrimaryKeyIndex CBC 415 100.0 % (10 / 10) 87.5 % (7 / 8)
RelationGetReplicaIndex CBC 238714 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationIdIsInInitFile CBC 1609547 100.0 % (7 / 7) 90.0 % (9 / 10)
RememberToFreeTupleDescAtEOX CBC 16267 100.0 % (14 / 14) 83.3 % (5 / 6)
ResOwnerReleaseRelation CBC 32743 100.0 % (6 / 6) 50.0 % (1 / 2)
BuildHardcodedDescriptor CBC 34031 100.0 % (11 / 11) 100.0 % (2 / 2)
CopyIndexAttOptions CBC 928874 100.0 % (7 / 7) 100.0 % (4 / 4)
GetPgClassDescriptor CBC 997190 100.0 % (4 / 4) 100.0 % (2 / 2)
GetPgIndexDescriptor CBC 1118850 100.0 % (4 / 4) 100.0 % (2 / 2)
RelationAssumeNewRelfilelocator CBC 10241 100.0 % (6 / 6) 100.0 % (4 / 4)
RelationCacheInitFileRemove CBC 1059 100.0 % (13 / 13) 100.0 % (4 / 4)
RelationCacheInitFileRemoveInDir CBC 1120 100.0 % (9 / 9) 100.0 % (4 / 4)
RelationCacheInitializePhase2 CBC 18580 100.0 % (13 / 13) 100.0 % (4 / 4)
RelationCacheInvalidateEntry CBC 2219348 100.0 % (9 / 9) 100.0 % (8 / 8)
RelationFlushRelation CBC 544007 100.0 % (16 / 16) 100.0 % (16 / 16)
RelationGetFKeyList CBC 192283 100.0 % (30 / 30) 100.0 % (6 / 6)
RelationGetStatExtList CBC 368092 100.0 % (20 / 20) 100.0 % (4 / 4)
RelationIncrementReferenceCount CBC 39390319 100.0 % (6 / 6) 100.0 % (2 / 2)
RelationInvalidateRelation CBC 1097843 100.0 % (7 / 7) 100.0 % (2 / 2)
RelationParseRelOptions CBC 1008091 100.0 % (16 / 16) 100.0 % (5 / 5)
AllocateRelationDesc CBC 915030 100.0 % (11 / 11)
AttrDefaultCmp CBC 10874 100.0 % (4 / 4)
CheckConstraintCmp CBC 6827 100.0 % (4 / 4)
InitIndexAmRoutine CBC 1794541 100.0 % (5 / 5)
InitTableAmRoutine CBC 1375612 100.0 % (3 / 3)
RelationCacheInitFilePostInvalidate CBC 25472 100.0 % (3 / 3)
RelationClose CBC 26734529 100.0 % (4 / 4)
RelationGetQualifiedRelationName CBC 81 100.0 % (3 / 3)
ResOwnerPrintRelCache CBC 5 100.0 % (3 / 3)
ResourceOwnerForgetRelationRef CBC 39007489 100.0 % (3 / 3)
ResourceOwnerRememberRelationRef CBC 39040232 100.0 % (3 / 3)
errtable CBC 2610 100.0 % (5 / 5)
errtablecolname CBC 406 100.0 % (4 / 4)
errtableconstraint CBC 1865 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1