Skip to main content

Module constraint_changes

Module constraint_changes 

Source
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§

ConstraintAlterEffects
ConstraintAlterOptions
ConstraintTypeContext

Enums§

ConstraintLocation

Traits§

ConstraintTypeReferrers

Functions§

apply_constraint_alteration
constraint_error
ensure_constraint_name_available
ensure_not_null_inheritable
find_constraint
foreign_key_object_id
take_column_check
validate_altered_constraint_column_types