* List-search interface */
| 1666 | * List-search interface |
| 1667 | */ |
| 1668 | struct catclist * |
| 1669 | SearchSysCacheList(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 |
nothing calls this directly
no test coverage detected