Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试导入数据库。
按照这个文档恢复:$ psql -U {user-name} -d {desintation_db}-f {dumpfilename.sql}
http://www.thegeekstuff.com/2009/01/how-to-backup-and-restore-postgres-database-using-pg_dump-and-psql/
我究竟做错了什么?
您应该psql从 shell 运行,而不是从psql实例运行。
psql