sudo -su postgres psql -d database -h "127.0.0.1" -f myfile.dmp
psql: FATAL: Peer authentication failed for user “xxx”
最新推荐文章于 2021-06-19 16:00:42 发布
sudo -su postgres psql -d database -h "127.0.0.1" -f myfile.dmp