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

Function SearchSysCacheList

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

* List-search interface */

Source from the content-addressed store, hash-verified

1666 * List-search interface
1667 */
1668struct catclist *
1669SearchSysCacheList(int cacheId, int nkeys,
1670 Datum key1, Datum key2, Datum key3)
1671{
1672 if (cacheId < 0 || cacheId >= SysCacheSize ||
1673 !PointerIsValid(SysCache[cacheId]))
1674 elog(ERROR, "invalid cache ID: %d", cacheId);
1675
1676 return SearchCatCacheList(SysCache[cacheId], nkeys,
1677 key1, key2, key3);
1678}
1679
1680/*
1681 * SysCacheInvalidate

Callers

nothing calls this directly

Calls 1

SearchCatCacheListFunction · 0.85

Tested by

no test coverage detected