How can I call psql so that it doesn\'t prompt for a password?
This is what I have:
psql -Umyuser < myscript.sql
Use -w in the command: psql -h localhost -p 5432 -U user -w