2021年11月3日
pg和系统时间差
show time zone;
set time zone ‘PRC’;
select now()
要想永久生效到pgdata下的postgresql.conf配置里修改两项
log_timezone = ‘PRC’
timezone = ‘PRC’