Expand description
SQL column identities, declared types, and logical slot layouts.
Modules§
- check_
inheritance - CHECK definition merging at CREATE and ALTER inheritance boundaries.
- columns
PostgreSQLcolumn-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
PostgreSQL18 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§
- Column
Identity - Structured SQL column identity. A qualifier is metadata, never a prefix encoded into the column name, so quoted names containing
.remain intact. - Physical
Layout - RowSchema
- Immutable column layout shared by an operator and all of its batches.
- Schema
Binding Context - Routine metadata and immutable namespace inputs for schema expression binding.
- Schema
Layout Error - Invalid schema layout supplied by a planner or a persisted row layout.
Enums§
- Projected
Slot - Physical source of one scalar-projection output. Direct input slots stay in the child row; only computed values extend its physical layout.
Traits§
- Schema
Expression Catalog - Definition lookup for generated columns and immutable index expressions.