Skip to main content

validate_column_removal

Function validate_column_removal 

Source
pub fn validate_column_removal(
    table: &str,
    column: &ColumnDef,
    parent_not_null: bool,
) -> Result<(), SQLError>
Expand description

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.