feat: use native postgres path for GaussDB connections
This commit is contained in:
1 parent
792c816a17
commit
234099aebd
9 files changed
+196
-34
No files matched your search
@@ -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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user