Skip to main content

Module namespaces

Module namespaces 

Source
Expand description

Schema registration and owner publication through live catalog and authorization guards.

Modules§

authority
Fresh namespace authority retains only schemas changed by the current transaction.
identity
Namespace OID reservations, lifetimes and catalog tuple replacement identities.
locking
Namespace lifetime binding and original catalog tuple replacement checks.
privileges
Schema grant and revoke publication while retaining live authorization and registry guards.
relation_names
Reserve a relation destination after its statement-level collision preflight.
relations
Schedule creation namespace resolution and writer retries without owning session state.
removal
Namespace removal with ordered dependent-object reads, relation locks, and registry publication.
rename
ALTER SCHEMA ... RENAME TO as RenameSchema performs it: the namespace keeps its identity, owner, privileges and dependents under the new name, and every object it holds follows, as PostgreSQL’s objects follow their namespace OID. The catalogs key relations, routines and types by their schema’s name, so each member is relocated under the new name inside the statement’s transaction after the schema itself has been checked.
restoration
Initial schema role conversion joins the caller’s complete restoration transaction.
type_names
Reserve type destinations shared by domain declarations and relation row types.

Structs§

SchemaCreationContext
SchemaOwnerContext
SchemaRegistrationContext

Traits§

NamespaceCatalogChanges
NamespaceCatalogRefresh
SchemaRegistration
SchemaRegistrationPersistence
SchemaRegistrationState
SchemaSecurityCatalog
SchemaSecurityPersistence
SchemaSecurityPublication
SchemaStatementWriter

Functions§

alter_schema_owner
create_schema
register_api_schema
The host API keeps its declaration rules while sharing transactional owner dependency publication with SQL.
register_schema

Type Aliases§

SchemaRegistryWrite