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

Method UserDefinedArrayOID

postgres/parser/types/types.go:1217–1222  ·  view source on GitHub ↗

UserDefinedArrayOID returns the OID of the array type that corresponds to this user defined type. This function only can only be called on user defined types and returns non-zero data only for user defined types that aren't arrays.

()

Source from the content-addressed store, hash-verified

1215// defined types and returns non-zero data only for user defined types that
1216// aren't arrays.
1217func (t *T) UserDefinedArrayOID() oid.Oid {
1218 if t.InternalType.UDTMetadata == nil {
1219 return 0
1220 }
1221 return t.InternalType.UDTMetadata.ArrayTypeOID
1222}
1223
1224// RemapUserDefinedTypeOIDs is used to remap OIDs stored within a types.T
1225// that is a user defined type. The newArrayOID argument is ignored if the

Callers 1

calcArrayOidFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected