Module catalog

Source
Expand description

Catalog abstraction layer.

Structs§

BuiltinsConfig
Which builtins to return in BUILTINS::iter.
CatalogConfig
Configuration associated with a catalog.
CatalogRecordField
A description of a field in a CatalogType::Record.
CatalogTypeDetails
Details about a type in the catalog.
CatalogTypePgMetadata
Additional PostgreSQL metadata about a type.
DefaultPrivilegeAclItem
Specification for the privileges that will be granted from default privileges.
DefaultPrivilegeObject
Specification for objects that will be affected by a default privilege.
EnvironmentId
Identifies an environment.
IdReference
Reference to a type by it’s global ID
InvalidEnvironmentIdError
The error type for EnvironmentId::from_str.
NameReference
Reference to a type by it’s name
RoleAttributes
Attributes belonging to a CatalogRole.
RoleMembership
Represents the grantee and a grantor of a role membership.
RoleVars
Default variable values for a CatalogRole.

Enums§

CatalogError
An error returned by the catalog.
CatalogItemType
The type of a CatalogItem.
CatalogType
A type stored in the catalog.
ErrorMessageObjectDescription
Enum used to format object names in error messages.
ObjectType
The types of objects stored in the catalog.
SystemObjectType
The types of objects in the system.
TypeCategory
Mirrored from PostgreSQL’s typcategory.

Traits§

CatalogCluster
A cluster in a SessionCatalog.
CatalogClusterReplica
A cluster replica in a SessionCatalog
CatalogCollectionItem
An item in a SessionCatalog and the specific “collection”/pTVC that it refers to.
CatalogDatabase
A database in a SessionCatalog.
CatalogItem
An item in a SessionCatalog.
CatalogNetworkPolicy
A network policy in a SessionCatalog.
CatalogRole
A role in a SessionCatalog.
CatalogSchema
A schema in a SessionCatalog.
SessionCatalog
A catalog keeps track of SQL objects and session state available to the planner.
TypeReference
Represents a reference to type in the catalog