How can I call psql so that it doesn\'t prompt for a password?
This is what I have:
psql -Umyuser < myscript.sql
You can add this command line at the begining of your script:
set PGPASSWORD=[your password]