Skip to main content

Module not_null_removal

Module not_null_removal 

Source
Expand description

Protect primary keys and identity columns when removing NOT NULL constraints.

Functions§

validate_column_removal
ATExecDropNotNull’s checks of a NOT NULL column: an identity column must stay NOT NULL, and so must a partition’s column while its parent’s is.
validate_constraint_removal