mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-20 06:50:37 +00:00
fix: add more parameters to postgresql for python client (#493)
This commit is contained in:
@@ -36,8 +36,11 @@ impl ServerParameterProvider for GreptimeDBStartupParameters {
|
||||
where
|
||||
C: ClientInfo,
|
||||
{
|
||||
let mut params = HashMap::with_capacity(1);
|
||||
let mut params = HashMap::with_capacity(4);
|
||||
params.insert("server_version".to_owned(), self.version.to_owned());
|
||||
params.insert("server_encoding".to_owned(), "UTF8".to_owned());
|
||||
params.insert("client_encoding".to_owned(), "UTF8".to_owned());
|
||||
params.insert("DateStyle".to_owned(), "ISO YMD".to_owned());
|
||||
|
||||
Some(params)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user