package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

GetStaticSchemaIDMap returns a map of schema ids to schema names for the static schemas.

# Constants

AttributedToUserInternalAppNamePrefix indicates that the application name identifies an internally-executed query that should be attributed to the user.
Names of tables in the system database.
ConstraintTypeCheck identifies a CHECK constraint.
ConstraintTypeFK identifies a FOREIGN KEY constraint.
ConstraintTypePK identifies a PRIMARY KEY constraint.
ConstraintTypeUnique identifies a UNIQUE constraint.
ConstraintTypeUniqueWithoutIndex identifies a UNIQUE_WITHOUT_INDEX constraint.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
CRDBInternalSchemaName is the name of the crdb_internal system schema.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
CrdbInternalTestID is reserved for tests that need to inject virtual tables into crdb_internal.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Names of tables in the system database.
DelegatedAppNamePrefix is added to a regular client application name for SQL queries that are ran internally on behalf of other SQL queries inside that application.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
InformationSchemaName is the name of the information_schema system schema.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
InternalAppNamePrefix indicates that the application name identifies an internal task / query / job to CockroachDB.
InternalSQLAppName is the application_name used by the cockroach CLI by default.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Oid for virtual database and table.
Names of tables in the system database.
NamespaceTableFamilyID is the column family of the namespace table which is actually written to.
Names of tables in the system database.
NamespaceTablePrimaryIndexID is the id of the primary index of the namespace table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
PgCatalogName is the name of the pg_catalog system schema.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
Oid for virtual database and table.
PgExtensionSchemaName is the alias for schemas which are usually "public" in postgres when installing an extension, but must be stored as a separate schema in CRDB.
Oid for virtual database and table.
PgSchemaPrefix is a prefix for Postgres system schemas.
PgTempSchemaName is the alias for temporary schemas across sessions.
PreMigrationNamespaceTableName is the name that was used on the descriptor of the current namespace table before the DeprecatedNamespaceTable was migrated away.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
PublicSchemaID redefines keys.PublicSchemaID to avoid an import.
PublicSchemaName is the name of the public schema.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
ReportableAppNamePrefix indicates that the application name can be reported in telemetry without scrubbing.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
SystemDatabaseName is the name of the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
SystemTenantName is the tenant name of the system tenant.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.
UserSchemaName is the alias for schema names for users.
Names of tables in the system database.
Names of tables in the system database.
Names of tables in the system database.

# Variables

StaticSchemaIDMap is a map of statically known schema IDs on versions PublicSchemasWithDescriptors and onwards.
StaticSchemaIDMapVirtualPublicSchema is a map of statically known schema IDs on versions prior to PublicSchemasWithDescriptors.
VirtualSchemaNames is a set of all virtual schema names.

# Type aliases

ConstraintType is used to identify the type of a constraint.
SystemTableName is a type for system table names.