package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
FuncIDToOID converts a function descriptor ID into a function OID.
IsOIDUserDefined returns true if oid is greater than CockroachPredefinedOIDMax, otherwise false.
MakeIndexIDSet returns a set initialized with the given values.
TypeIDToOID converts a type descriptor ID into a type OID.
UserDefinedOIDToID converts the OID of a user-defined type or function to a descriptor ID.
# Constants
InvalidDescID is the uninitialised descriptor id.
# Type aliases
ColumnID is a custom type for Column IDs.
ConstraintID is a custom type for TableDescriptor constraint IDs.
DescID is a custom type for {Database,Table}Descriptor IDs.
FamilyID is a custom type for ColumnFamilyDescriptor IDs.
IndexID is a custom type for IndexDescriptor IDs.
PGAttributeNum is a custom type for Column's logical order.
PolicyID is a custom type for TableDescriptor policy IDs.
RoleID is a custom type for a role id.
TriggerID is a custom type for TableDescriptor trigger IDs.