Closed
Description
let mut connect_options = url.parse::<sqlx::postgres::PgConnectOptions>().unwrap()
.options([
("default_transaction_isolation", "serializable"),
("idle_in_transaction_session_timeout", "5min"),
]);
thread 'main' panicked at 'Couldn't connect to database.: Database(PgDatabaseError { severity: Fatal, code: "22023", message: "invalid value for parameter \"default_transaction_isolation\": \"serializable-c\"", detail: None, hint: Some("Available values: serializable, repeatable read, read committed, read uncommitted."), position: None, where: None, schema: None, table: None, column: None, data_type: None, constraint: None, file: Some("guc.c"), line: Some(6873), routine: Some("parse_and_validate_value") })', src/db.rs:23:14
This bug appears to have existed forever: #1539 (comment)