Re: Inquiry From Form [pgsql]

Tariq Muhammad <tmuhamma@libertyrms.com>

From: Tariq Muhammad <tmuhamma@libertyrms.com>
To: Chris <cschneider@xede.com>
Cc: pgsql-general@postgresql.org
Date: 2003-02-14T19:48:41Z
Lists: pgsql-general

On Fri, 7 Feb 2003, Chris wrote:

> 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?  
> 

\i script_name.sql



     _/_/     _/_/    _/_/  Tariq Muhammad
    _/  _/  _/   _/ _/  _/  tariq@libertyrms.info
   _/   _/ _/_/_/  _/_/_/   v:416-646-3304 x 111
  _/   _/ _/   _/ _/  _/    c:416-455-0272
 _/_/_/  _/_/_/  _/  _/     p:416-381-1457
_________________________________________________
     Liberty Registry Management Services Co.