暂无图片
pg_restore恢复数据库,报错提示命令行参数太多?
我来答
分享
若水
2021-10-22
pg_restore恢复数据库,报错提示命令行参数太多?
import os
def bfDateBase():
    pgrestore='pg_restore "host=127.0.0.1 port=5432 user=postgres  dbname=thetool" verbose tools.dump'
    os.popen(pgrestore)
bfDateBase()

我来答
添加附件
收藏
分享
问题补充
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏