Skip to main content

normalize_legacy_vector_carrier_with_control

Function normalize_legacy_vector_carrier_with_control 

Source
pub fn normalize_legacy_vector_carrier_with_control(
    value: &Value,
    ty: &ColumnType,
    control: &ProductionControl<'_>,
) -> Result<Option<Produced<Value>>, SQLError>
Expand description

Return a replacement only when the declared type contains legacy vectors whose runtime representation is not canonical. Domain checks have already run when the stored value was admitted; normalization changes its carrier, not its domain membership.