我每次更改后都会运行postgres 9.4,重启后返回默认GMT
> $ psql -c 'show timezone'
Run Code Online (Sandbox Code Playgroud)
时区
> US/Central
Run Code Online (Sandbox Code Playgroud)
是否有在postgres.conf中添加的参数选项?
Val*_*sky 18
您可以将timezoneparam 设置为pgsql/data/postgresql.conffile:
timezone = 'US/Central'
Run Code Online (Sandbox Code Playgroud)
然后重启postgresql服务器.
| 归档时间: |
|
| 查看次数: |
14338 次 |
| 最近记录: |