MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / IsOIDUserDefinedType

Function IsOIDUserDefinedType

pkg/sql/types/types.go:1554–1556  ·  view source on GitHub ↗

IsOIDUserDefinedType returns whether or not o corresponds to a user defined type.

(o oid.Oid)

Source from the content-addressed store, hash-verified

1552// IsOIDUserDefinedType returns whether or not o corresponds to a user
1553// defined type.
1554func IsOIDUserDefinedType(o oid.Oid) bool {
1555 return catid.IsOIDUserDefined(o)
1556}
1557
1558var familyNames = map[Family]redact.SafeString{
1559 AnyFamily: "any",

Callers 1

UserDefinedMethod · 0.85

Calls 1

IsOIDUserDefinedFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…