Inquiry From Form [pgsql]

Chris <cschneider@xede.com>

From: Chris <cschneider@xede.com>
To: info@pgsql.com
Date: 2003-02-07T23:00:49Z
Lists: pgsql-general
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