gpt4 book ai didi

postgresql - pg_dump : too many command line arguments

转载 作者:行者123 更新时间:2023-11-29 11:08:50 28 4
gpt4 key购买 nike

这个命令有什么问题:

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

这是给出太多命令行参数的错误

最佳答案

看起来像是 -W 选项。该选项没有任何值(value)。

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

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

关于postgresql - pg_dump : too many command line arguments,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11865596/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com