MCPcopy Create free account
hub / github.com/apache/cloudberry / InitCatalogCachePhase2

Function InitCatalogCachePhase2

src/backend/utils/cache/syscache.c:1314–1323  ·  view source on GitHub ↗

* InitCatalogCachePhase2 - finish initializing the caches * * Finish initializing all the caches, including necessary database * access. * * This is *not* essential; normally we allow syscaches to be initialized * on first use. However, it is useful as a mechanism to preload the * relcache with entries for the most-commonly-used system catalogs. * Therefore, we invoke this routine when we

Source from the content-addressed store, hash-verified

1312 * init file.
1313 */
1314void
1315InitCatalogCachePhase2(void)
1316{
1317 int cacheId;
1318
1319 Assert(CacheInitialized);
1320
1321 for (cacheId = 0; cacheId < SysCacheSize; cacheId++)
1322 InitCatCachePhase2(SysCache[cacheId], true);
1323}
1324
1325
1326/*

Callers 1

Calls 1

InitCatCachePhase2Function · 0.85

Tested by

no test coverage detected