1.postgresql服务启动
2.本地创建数据库
右键=》restore
忘记密码怎么办?=》重置密码,sql如下
alter user postgres with password '*****'