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

Function typeTypeId

src/backend/parser/parse_type.c:589–595  ·  view source on GitHub ↗

given type (as type struct), return the type OID */

Source from the content-addressed store, hash-verified

587
588/* given type (as type struct), return the type OID */
589Oid
590typeTypeId(Type tp)
591{
592 if (tp == NULL) /* probably useless */
593 elog(ERROR, "typeTypeId() called with NULL type struct");
594 return ((Form_pg_type) GETSTRUCT(tp))->oid;
595}
596
597/* given type (as type struct), return the length of type */
598int16

Callers 6

AlterTypeOwnerFunction · 0.85
AlterTypeFunction · 0.85
compute_return_typeFunction · 0.85
FuncNameAsTypeFunction · 0.85
get_object_address_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected