Skip to main content

Module schema

Module schema 

Source
Expand description

SQL column identities, declared types, and logical slot layouts.

Modules§

check_inheritance
CHECK definition merging at CREATE and ALTER inheritance boundaries.
columns
PostgreSQL column-name and stored-type declaration rules.
constraint_changes
Locate durable constraints and analyze changes to their type, identity, and enforcement metadata.
constraint_metadata
Normalize durable constraint names and identities through a caller-owned identity allocator.
constraint_views
Effective constraint views over stored column and table declarations.
constraints
Shared CREATE/ALTER validation for table constraints.
defaults
PostgreSQL-compatible validation for column default expressions.
dependencies
Traverse stored expressions and recognize their column dependencies.
domains
Domain declaration validation, inherited defaults, and constraint binding.
foreign_keys
Bind foreign-key declarations, select referenced keys, and validate REFERENCES privileges.
foreign_tables
Foreign-table declaration validation over fresh schema binding scopes and loaded sequence names.
generated
PostgreSQL 18 generated-column validation and row computation.
indexes
Immutable index-expression binding in the indexed table’s declared row type.
inheritance
CREATE TABLE inheritance and partition row-type preparation.
join_output
Static layouts shared by qualified joins and physical output shaping.
keys
Declaration and identity rules for newly added PRIMARY KEY and UNIQUE constraints.
namespaces
Namespace declaration rules independent of catalog storage.
relation_alteration
Native view and foreign-table alteration targets and relation rename declarations.
removal
DROP relation target binding, label protection and declared dependency discovery.
sequences
SQL sequence declarations, names, and ownership binding.
table_alteration
Bind inherited ALTER declarations and their durable constraint identities.
table_creation
CREATE TABLE column validation and CREATE TABLE AS result declarations.
truncate
TRUNCATE target expansion, partition rules and foreign-key dependency ordering.
view_creation
View target namespaces, replacement row types, and materialized-view declarations.

Structs§

ColumnIdentity
Structured SQL column identity. A qualifier is metadata, never a prefix encoded into the column name, so quoted names containing . remain intact.
PhysicalLayout
RowSchema
Immutable column layout shared by an operator and all of its batches.
SchemaBindingContext
Routine metadata and immutable namespace inputs for schema expression binding.
SchemaLayoutError
Invalid schema layout supplied by a planner or a persisted row layout.

Enums§

ProjectedSlot
Physical source of one scalar-projection output. Direct input slots stay in the child row; only computed values extend its physical layout.

Traits§

SchemaExpressionCatalog
Definition lookup for generated columns and immutable index expressions.