From b0d15615545ab1418218ad27f7c3572e30247ca4 Mon Sep 17 00:00:00 2001 From: mdecimus Date: Tue, 6 Aug 2024 08:41:05 +0200 Subject: [PATCH] Add options setting to PostgreSQL driver (closes #662) --- crates/store/src/backend/postgres/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/store/src/backend/postgres/main.rs b/crates/store/src/backend/postgres/main.rs index 0277a4b7..2b1e7815 100644 --- a/crates/store/src/backend/postgres/main.rs +++ b/crates/store/src/backend/postgres/main.rs @@ -29,6 +29,7 @@ impl PostgresStore { cfg.connect_timeout = config .property::>((&prefix, "timeout")) .unwrap_or_default(); + cfg.options = config.value((&prefix, "options")).map(|s| s.to_string()); cfg.manager = Some(ManagerConfig { recycling_method: RecyclingMethod::Fast, });