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

Function getBaseType

src/backend/utils/cache/lsyscache.c:3121–3127  ·  view source on GitHub ↗

* getBaseType * If the given type is a domain, return its base type; * otherwise return the type's own OID. */

Source from the content-addressed store, hash-verified

3119 * otherwise return the type's own OID.
3120 */
3121Oid
3122getBaseType(Oid typid)
3123{
3124 int32 typmod = -1;
3125
3126 return getBaseTypeAndTypmod(typid, &typmod);
3127}
3128
3129/*
3130 * getBaseTypeAndTypmod

Callers 15

PLy_output_setup_funcFunction · 0.85
type_is_rowtypeFunction · 0.85
jsonb_categorize_typeFunction · 0.85
range_typanalyzeFunction · 0.85
multirange_typanalyzeFunction · 0.85
json_categorize_typeFunction · 0.85
get_type_func_classFunction · 0.85

Calls 1

getBaseTypeAndTypmodFunction · 0.85

Tested by

no test coverage detected