pub fn check_transaction_isolation_feature_flag(
name: &str,
input: VarInput<'_>,
system_vars: &SystemVars,
) -> Result<(), VarError>Expand description
Enforces feature-flag gating for transaction_isolation levels that sit
behind a flag (bounded staleness <duration> and
strong session serializable).
Returns Ok(()) for any other variable, and for an unparseable value
(parse errors surface on the actual set). This is shared by every path that
assigns transaction_isolation — SET, SET TRANSACTION,
ALTER ROLE ... SET, and connection options — so that the gate cannot be
bypassed by choosing a different syntax or letter case.