diff --git a/src/servers/src/postgres/auth_handler.rs b/src/servers/src/postgres/auth_handler.rs index 46cf8f6ac8..ab94e4eb4f 100644 --- a/src/servers/src/postgres/auth_handler.rs +++ b/src/servers/src/postgres/auth_handler.rs @@ -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) }