【发布时间】:2020-02-25 20:17:35
【问题描述】:
如何在 Google Cloud SQL 的 PostgreSQL 实例中设置永久时区?
我已尝试使用 set timezone to 'Asia/Kathmandu';,但它在重新启动时重置为 UTC。
我也尝试过使用alter database "dbname" set timezone = "Asia/Kathmandu"; 来维持重启,但如果其他人连接到该数据库,他们在select now(); 时拥有UTC 时间。
【问题讨论】:
-
在
psql中输入\drds会得到什么?
标签: postgresql google-cloud-platform google-cloud-sql