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

Function typeTypeRelid

src/backend/parser/parse_type.c:629–636  ·  view source on GitHub ↗

given type (as type struct), return its 'typrelid' attribute */

Source from the content-addressed store, hash-verified

627
628/* given type (as type struct), return its 'typrelid' attribute */
629Oid
630typeTypeRelid(Type typ)
631{
632 Form_pg_type typtup;
633
634 typtup = (Form_pg_type) GETSTRUCT(typ);
635 return typtup->typrelid;
636}
637
638/* given type (as type struct), return its 'typcollation' attribute */
639Oid

Callers 1

FuncNameAsTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected