How can I call psql so that it doesn’t prompt for a password?
This is what I have:
psql -Umyuser < myscript.sql
However, I couldn’t find the argument that passes the password, and so psql always prompts for it.
How can I call psql so that it doesn’t prompt for a password?
This is what I have:
psql -Umyuser < myscript.sql
However, I couldn’t find the argument that passes the password, and so psql always prompts for it.