how can I run a SQL script from a text file from within PSQL.
Like in Oracle from SQLPlus I would use the @scriptname.sql from the SQL prompt. What is the syntax from PSQL?
Thanks