Expand description
Locate durable constraints and analyze changes to their type, identity, and enforcement metadata.
Modules§
- foreign_
key_ target - Resolve materialized foreign keys by name initially and by durable identity after a wait.
- inheritance
- Match inherited constraints and select removal behavior from their remaining origins.
- names
- Names and independent catalog identities from a borrowed relation declaration.
- not_
null_ removal - Protect primary keys and identity columns when removing NOT NULL constraints.
- renaming
- Inherited constraint rename diagnostics and metadata edits preserve constraint identity.
- validation
- Select constraint validation dependencies and match inherited NOT NULL constraints by column.
Structs§
- Constraint
Alter Effects - Constraint
Alter Options - Constraint
Ancestor - A constraint without a parent, which the constraints derived from it name in diagnostics.
- Constraint
Type Context
Enums§
- Constraint
Location - Foreign
KeyLocation - Where a relation declares a foreign key.
Traits§
Functions§
- apply_
constraint_ alteration - constraint_
error - derived_
constraint_ alteration ALTER CONSTRAINTof a constraint derived from another, whichPostgreSQLrefuses so that the derived constraints keep following the one they derive from.- ensure_
constraint_ name_ available - ensure_
not_ null_ inheritable - find_
constraint - foreign_
key_ object_ id - take_
column_ check - validate_
altered_ constraint_ column_ types