我在 postgresql.conf 中设置时区如下:-
- Locale and Formatting -
datestyle = 'iso, mdy'
#intervalstyle = 'postgres'
timezone = 'UTC'
#timezone_abbreviations = 'Default'
Run Code Online (Sandbox Code Playgroud)
但是当我在 postgres 服务器中看到时区时,它默认为“亚洲/加尔各答”。我已经在MacOs中使用brew包安装了postgres。