package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
IsOIDUserDefinedFunc returns true if an oid is a user-defined function oid.
MaybeFailOnUDFUsage returns an error if the given expression or any sub-expression used a UDF unless it's explicitly listed as an allowed use case.
NewBuilder returns a new FunctionDescriptorBuilder instance by delegating to NewBuilderWithMVCCTimestamp with an empty MVCC timestamp.
NewBuilderWithMVCCTimestamp creates a new FunctionDescriptorBuilder instance for building function descriptors.
NewMutableFunctionDescriptor is a mutable function descriptor constructor used only with in the legacy schema changer.
ToTreeRoutineParamClass converts the proto enum value to the corresponding tree.RoutineParamClass.
UserDefinedFunctionOIDToID converts a UDF OID into a descriptor ID.
# Interfaces
FunctionDescriptorBuilder is an extension of catalog.DescriptorBuilder for function descriptors.