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

Function make_oper_cache_entry

src/backend/parser/parse_oper.c:1032–1043  ·  view source on GitHub ↗

* make_oper_cache_entry * * Insert a cache entry for the given key. */

Source from the content-addressed store, hash-verified

1030 * Insert a cache entry for the given key.
1031 */
1032static void
1033make_oper_cache_entry(OprCacheKey *key, Oid opr_oid)
1034{
1035 OprCacheEntry *oprentry;
1036
1037 Assert(OprCacheHash != NULL);
1038
1039 oprentry = (OprCacheEntry *) hash_search(OprCacheHash,
1040 (void *) key,
1041 HASH_ENTER, NULL);
1042 oprentry->opr_oid = opr_oid;
1043}
1044
1045/*
1046 * Callback for pg_operator and pg_cast inval events

Callers 2

operFunction · 0.85
left_operFunction · 0.85

Calls 1

hash_searchFunction · 0.85

Tested by

no test coverage detected