To apply an SQL script to the database, use a command such as:
# psql -a -u romber_envr -f sqlfilename.sql romber_envr # psql --echo-all --username romber_envr -file sqlfilename.sql romber_envr # psql --echo-all --username romber_envr romber_envr < sqlfilename.sql
Note that the three commands above are equivalent