fix: create pg connection for cloud-hosted jobs instead of panicking (#8710)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-04-03 20:00:22 -04:00
committed by GitHub
parent 653356011c
commit aff95c33b2

View File

@@ -372,7 +372,7 @@ pub async fn do_postgresql(
}
} else {
cached_client = None;
new_client = None;
new_client = Some(new_pg_connection(&database, use_iam_auth).await?);
}
let (sig, typed_schema) = parse_pgsql_sig_with_typed_schema(&query)