MCPcopy Create free account
hub / github.com/dolthub/doltgresql / UserDefined

Method UserDefined

postgres/parser/types/types.go:1239–1241  ·  view source on GitHub ↗

UserDefined returns whether or not t is a user defined type.

()

Source from the content-addressed store, hash-verified

1237
1238// UserDefined returns whether or not t is a user defined type.
1239func (t *T) UserDefined() bool {
1240 return IsOIDUserDefinedType(t.Oid())
1241}
1242
1243// IsOIDUserDefinedType returns whether or not o corresponds to a user
1244// defined type.

Callers 5

PGNameMethod · 0.95
IsHydratedMethod · 0.95
DebugStringMethod · 0.80
FormatTypeReferenceMethod · 0.80
VisitPreMethod · 0.80

Calls 2

OidMethod · 0.95
IsOIDUserDefinedTypeFunction · 0.85

Tested by

no test coverage detected