feat: use native postgres path for GaussDB connections

This commit is contained in:
t8y2 committed 2026-05-25 19:25:35 +08:00
1 parent 792c816a17
commit 234099aebd
9 files changed
+196 -34

No files matched your search

+1
View File
@@ -122,6 +122,7 @@ fn pg_value_to_json(row: &Row, idx: usize, type_name: &str) -> serde_json::Value
pub async fn connect(url: &str) -> Result<Pool, String> {
validate_postgres_ssl_paths(url)?;
let _ = rustls::crypto::aws_lc_rs::default_provider().install_default();
let tz = iana_time_zone::get_timezone().unwrap_or_else(|_| "UTC".to_string());