pg_dump:命令行参数过多 [英] pg_dump: too many command line arguments

查看:1360
本文介绍了pg_dump:命令行参数过多的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此命令出了什么问题

pg_dump -U postgres -W admin --disable-triggers -a -t employees -f D:\ddd.txt postgres

这给了太多命令行错误arguments

This is giving error of too many command-line arguments

推荐答案

看起来像-W选项。该选项没有任何价值。

Looks like its the -W option. There is no value to go with that option.

-W, --password           force password prompt (should happen automatically)

如果要在不键入密码的情况下运行命令,请使用.pgpass文件。
http://www.postgresql.org/docs/9.1/static/libpq- pgpass.html

If you want to run the command without typing is a password, use a .pgpass file. http://www.postgresql.org/docs/9.1/static/libpq-pgpass.html

这篇关于pg_dump:命令行参数过多的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆