postgresql用pg_dum备份单张表 #导出单张表 pg_dump -U postgres -t xxx pgdbname > ~/xxx.sql; #导入命令 psql -U postgres(用户名) -d 数据库名(缺省时同用户名) < C:\fulldb.sql