INSERT into Group (Name,CreatedDate) VALUES ('Test',UTC_TIMESTAMP(), 1); HINT: No function matches the given name and argument types.utc_timestamp() does not exist我尝
在我的应用程序中,所有时间戳都保存为UTC。提交的时区分别保存。,在旧金山的一台服务器上,PostgreSQL默认时区设置为America/Eastern。PostgreSQL中的列是TIMESTAMP WITH TIME ZONE。当我查询时,我得到本地化的日期,因为我的本地系统将它抵消了-7小时到MST。
这的确是我在本地插