close
/etc/postgresql/10/main/postgresql.conf
把timezone改成你要
timezone = 'Hongkong'
sudo service postgresql restart
column default set to now create temporary table test( id int, ts timestamp without time zone default (now() at time zone 'utc') );
參考:
https://kb.objectrocket.com/postgresql/postgresql-set-time-zone-1064
文章標籤
全站熱搜
留言列表