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

Function SearchSysCacheExistsAttName

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

* SearchSysCacheExistsAttName * * As above, an attisdropped-aware version of SearchSysCacheExists. */

Source from the content-addressed store, hash-verified

1536 * As above, an attisdropped-aware version of SearchSysCacheExists.
1537 */
1538bool
1539SearchSysCacheExistsAttName(Oid relid, const char *attname)
1540{
1541 HeapTuple tuple;
1542
1543 tuple = SearchSysCacheAttName(relid, attname);
1544 if (!HeapTupleIsValid(tuple))
1545 return false;
1546 ReleaseSysCache(tuple);
1547 return true;
1548}
1549
1550
1551/*

Callers 1

RemoveInheritanceFunction · 0.85

Calls 2

SearchSysCacheAttNameFunction · 0.85
ReleaseSysCacheFunction · 0.85

Tested by

no test coverage detected