Modify postgresql time zone
1. Enter the command [systemctl status postgresql-12.service] to query the current running status of the pgsql server.
2. Find the data folder [/data/database/postgresql/data/] and open the [postgresql.conf] file
3. Modify the node [timezone = 'America/New_York'] to [timezone = 'PRC']
4. Modify the node [log_timezone = 'America/New_York'] to [log_timezone = 'PRC']
5. Enter the command [systemctl restart postgresql-12.service] to restart the pgsql service
6. Navicat enters [show time zone;] to query the pgsql time zone
7. Navicat enters [select CURRENT_DATE,CURRENT_TIME;] to query the pgsql current time.