我试图psql使用批处理脚本执行此命令:
psql
psql --host=localhost --dbname=<dbname> --port=<Port Number> --username=<dbuser> --file=C:\PSQL_Script.txt --output=C:\PSQL_Output.txt
问题是每次执行批处理脚本时都要求输入密码.如何通过批处理文件密码参数?
postgresql connection shell psql
connection ×1
postgresql ×1
psql ×1
shell ×1