pg

转自https://blog.csdn.net/zimu312500/article/details/124283358

 

一下子导出localhost的所有数据库

pg_dumpall -h 127.0.0.1 -p 5432 -U postgres -c -f alldb

psql –h 127.0.0.1 -p 5432 -U postgres -f alldb

posted @ 2022-11-14 12:44  我们都不是哈士奇  阅读(561)  评论(0)    收藏  举报