このコマンドの何が問題なのでしょうか:
pg_dump -U postgres -W admin --disable-triggers -a -t employees -f D:\ddd.txt postgres
コマンドライン引数が多すぎるというエラーが発生します
ベストアンサー1
-W オプションのようです。そのオプションに該当する値はありません。
-W, --password force password prompt (should happen automatically)
パスワードを入力せずにコマンドを実行する場合は、.pgpass ファイルを使用します。http://www.postgresql.org/docs/9.1/static/libpq-pgpass.html