pg备份恢复与设置编码
psql
create database jasygl encoding='UTF8' TEMPLATE = template0;
命令行
备份
pg_dump dabase_name > back.sql;
恢复
psql dabase_name < back.sql
create database jasygl encoding='UTF8' TEMPLATE = template0;
pg_dump dabase_name > back.sql;
psql dabase_name < back.sql