From f5526ed967de3606565b8147cf92b2202fa2f528 Mon Sep 17 00:00:00 2001 From: Stephan Fitzpatrick Date: Tue, 11 Nov 2025 00:56:53 -0800 Subject: [PATCH] fix(backend): add sslmode parameter to DuckLake PostgreSQL connections --- backend/windmill-worker/src/duckdb_executor.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/windmill-worker/src/duckdb_executor.rs b/backend/windmill-worker/src/duckdb_executor.rs index e3408ffca7..a01a065f04 100644 --- a/backend/windmill-worker/src/duckdb_executor.rs +++ b/backend/windmill-worker/src/duckdb_executor.rs @@ -350,7 +350,7 @@ fn format_attach_db_conn_str(db_resource: Value, db_type: &str) -> Result { let res: PgDatabase = serde_json::from_value(db_resource)?; format!( - "dbname={} {} host={} {} {}", + "dbname={} {} host={} {} {} {}", res.dbname, res.user.map(|u| format!("user={}", u)).unwrap_or_default(), res.host, @@ -358,6 +358,9 @@ fn format_attach_db_conn_str(db_resource: Value, db_type: &str) -> Result